Changes in directory llvm/test/Regression/CodeGen/X86:
lea.ll updated: 1.3 -> 1.4 --- Log message: Add a lea instruction selection test case. --- Diffs of the changes: (+7 -0) lea.ll | 7 +++++++ 1 files changed, 7 insertions(+) Index: llvm/test/Regression/CodeGen/X86/lea.ll diff -u /dev/null llvm/test/Regression/CodeGen/X86/lea.ll:1.4 --- /dev/null Tue May 30 01:54:05 2006 +++ llvm/test/Regression/CodeGen/X86/lea.ll Tue May 30 01:53:55 2006 @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=x86 +; RUN: llvm-as < %s | llc -march=x86 | not grep orl +int %test(int %x) { + %tmp1 = shl int %x, ubyte 3 + %tmp2 = add int %tmp1, 7 + ret int %tmp2 +} _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits