OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7328eb7
)
[X86] Added i128 lshr+shl -> mask combine test
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 14 Sep 2016 14:29:16 +0000
(14:29 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 14 Sep 2016 14:29:16 +0000
(14:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281480
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/shift-i128.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/X86/shift-i128.ll
b/test/CodeGen/X86/shift-i128.ll
index
265a051
..
802277e
100644
(file)
--- a/
test/CodeGen/X86/shift-i128.ll
+++ b/
test/CodeGen/X86/shift-i128.ll
@@
-141,3
+141,9
@@
define <2 x i256> @shl_zext_lshr_outofrange(<2 x i128> %a0) {
%3 = shl <2 x i256> %2, <i256 128, i256 128>
ret <2 x i256> %3
}
+
+define i128 @lshr_shl_mask(i128 %a0) {
+ %1 = shl i128 %a0, 1
+ %2 = lshr i128 %1, 1
+ ret i128 %2
+}