[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-03-01-InstrSchedBug.ll
Evan Cheng
evan.cheng at apple.com
Thu Mar 2 13:48:46 PST 2006
Changes in directory llvm/test/Regression/CodeGen/X86:
2006-03-01-InstrSchedBug.ll added (r1.1)
---
Log message:
Add a regression test for bug 478: http://llvm.cs.uiuc.edu/PR478 .
---
Diffs of the changes: (+11 -0)
2006-03-01-InstrSchedBug.ll | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/test/Regression/CodeGen/X86/2006-03-01-InstrSchedBug.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/2006-03-01-InstrSchedBug.ll:1.1
*** /dev/null Thu Mar 2 15:48:44 2006
--- llvm/test/Regression/CodeGen/X86/2006-03-01-InstrSchedBug.ll Thu Mar 2 15:48:34 2006
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | not grep 'subl.*%esp'
+
+ int %f(int %a, int %b) {
+ %tmp.2 = mul int %a, %a
+ %tmp.5 = shl int %a, ubyte 1
+ %tmp.6 = mul int %tmp.5, %b
+ %tmp.10 = mul int %b, %b
+ %tmp.7 = add int %tmp.10, %tmp.2
+ %tmp.11 = add int %tmp.7, %tmp.6
+ ret int %tmp.11
+ }
More information about the llvm-commits
mailing list