summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/rotate4.ll
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2014-03-08 21:51:55 +0000
committerAdam Nemet <anemet@apple.com>2014-03-08 21:51:55 +0000
commitb033b03c23fb3ae066937b2ec09eb9d7a3f1d522 (patch)
tree0d248f4c64ffbe2a917144d455183207dde00a09 /test/CodeGen/X86/rotate4.ll
parent29b1962c422fb0b68ccd360f7188c3becfcc5d0b (diff)
downloadllvm-b033b03c23fb3ae066937b2ec09eb9d7a3f1d522.tar.gz
llvm-b033b03c23fb3ae066937b2ec09eb9d7a3f1d522.tar.bz2
llvm-b033b03c23fb3ae066937b2ec09eb9d7a3f1d522.tar.xz
Update comment from r203315 based on review
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/rotate4.ll')
-rw-r--r--test/CodeGen/X86/rotate4.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/rotate4.ll b/test/CodeGen/X86/rotate4.ll
index 3106989919..b549a9bd93 100644
--- a/test/CodeGen/X86/rotate4.ll
+++ b/test/CodeGen/X86/rotate4.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=generic | FileCheck %s
; Check that we recognize this idiom for rotation too:
-; a << (b & 31) | a >> ((0 - b) & 31)
+; a << (b & (OpSize-1)) | a >> ((0 - b) & (OpSize-1))
define i32 @rotate_left_32(i32 %a, i32 %b) {
; CHECK-LABEL: rotate_left_32: