summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/2009-06-02-Rotate.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SystemZ/2009-06-02-Rotate.ll')
-rw-r--r--test/CodeGen/SystemZ/2009-06-02-Rotate.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/SystemZ/2009-06-02-Rotate.ll b/test/CodeGen/SystemZ/2009-06-02-Rotate.ll
index 3317864c0147..07a164d42645 100644
--- a/test/CodeGen/SystemZ/2009-06-02-Rotate.ll
+++ b/test/CodeGen/SystemZ/2009-06-02-Rotate.ll
@@ -5,8 +5,8 @@ target triple = "s390x-linux"
define i32 @rotl(i32 %x, i32 %y, i32 %z) nounwind readnone {
entry:
- %shl = shl i32 %x, 0 ; <i32> [#uses=1]
- %sub = sub i32 32, 0 ; <i32> [#uses=1]
+ %shl = shl i32 %x, 1 ; <i32> [#uses=1]
+ %sub = sub i32 32, 1 ; <i32> [#uses=1]
%shr = lshr i32 %x, %sub ; <i32> [#uses=1]
%or = or i32 %shr, %shl ; <i32> [#uses=1]
ret i32 %or