diff options
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll | 11 | ||||
| -rw-r--r-- | test/CodeGen/XCore/fneg.ll | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll b/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll new file mode 100644 index 0000000000..20050e93ac --- /dev/null +++ b/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | llc -march=msp430 + +define i16 @test(double %d) nounwind { +entry: + %add = add double %d, 1.000000e+00 + %call = tail call i16 @funct(double %add) nounwind + ret i16 %call +} + +declare i16 @funct(double) + diff --git a/test/CodeGen/XCore/fneg.ll b/test/CodeGen/XCore/fneg.ll index ac30410cf8..e4426fd908 100644 --- a/test/CodeGen/XCore/fneg.ll +++ b/test/CodeGen/XCore/fneg.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -march=xcore > %t1.s -; RUN: grep "bl __subdf3" %t1.s | count 1 +; RUN: grep "xor" %t1.s | count 1 define i1 @test(double %F) nounwind { entry: %0 = sub double -0.000000e+00, %F |
