diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-03-31 19:39:24 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-03-31 19:39:24 +0000 |
| commit | 0d551591ea6c7fe7c3665415611b5cfb30248887 (patch) | |
| tree | dee938cabbda6ad97db26999b37d1c7a0c2e36e5 /llvm/test/CodeGen/X86/shift-i128.ll | |
| parent | d9d6e427d62b75596aabaf9c4ea3aac5cfc8e409 (diff) | |
| download | bcm5719-llvm-0d551591ea6c7fe7c3665415611b5cfb30248887.tar.gz bcm5719-llvm-0d551591ea6c7fe7c3665415611b5cfb30248887.zip | |
Fully general expansion of integer shift of any size.
llvm-svn: 68134
Diffstat (limited to 'llvm/test/CodeGen/X86/shift-i128.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/shift-i128.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/shift-i128.ll b/llvm/test/CodeGen/X86/shift-i128.ll new file mode 100644 index 00000000000..fc22a3c6913 --- /dev/null +++ b/llvm/test/CodeGen/X86/shift-i128.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=x86 +; RUN: llvm-as < %s | llc -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 +} |

