diff options
Diffstat (limited to 'test/CodeGen/X86/shift-i128.ll')
-rw-r--r-- | test/CodeGen/X86/shift-i128.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/shift-i128.ll b/test/CodeGen/X86/shift-i128.ll new file mode 100644 index 0000000..c4d15ae --- /dev/null +++ b/test/CodeGen/X86/shift-i128.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -march=x86 +; RUN: llc < %s -march=x86-64 + +define void @t(i128 %x, i128 %a, i128* nocapture %r) nounwind { +entry: + %0 = lshr i128 %x, %a + store i128 %0, i128* %r, align 16 + ret void +} |