diff options
Diffstat (limited to 'test/CodeGen/X86/2008-07-11-SHLBy1.ll')
-rw-r--r-- | test/CodeGen/X86/2008-07-11-SHLBy1.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2008-07-11-SHLBy1.ll b/test/CodeGen/X86/2008-07-11-SHLBy1.ll new file mode 100644 index 000000000000..5b94a351cff9 --- /dev/null +++ b/test/CodeGen/X86/2008-07-11-SHLBy1.ll @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llc -march=x86-64 -o - | not grep shr +define i128 @sl(i128 %x) { + %t = shl i128 %x, 1 + ret i128 %t +} |