Add Uses=[SP] to call instructions. This fixes a miscompilation with a
[oota-llvm.git] / test / CodeGen / XCore / cos.ll
index 334f0d50561d6b531c22fc32983196b993a7f6d2..8211f85b9bc29cdde1f12ee5641b07c5028c8198 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=xcore > %t1.s
+; RUN: llc < %s -march=xcore > %t1.s
 ; RUN: grep "bl cosf" %t1.s | count 1
 ; RUN: grep "bl cos" %t1.s | count 2
 declare double @llvm.cos.f64(double)