Update comment from r203315 based on review
authorAdam Nemet <anemet@apple.com>
Sat, 8 Mar 2014 21:51:55 +0000 (21:51 +0000)
committerAdam Nemet <anemet@apple.com>
Sat, 8 Mar 2014 21:51:55 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203361 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/rotate4.ll

index 31069899195b75bdf1cf09945a41352fdf1448bf..b549a9bd935a5a964f62fb3e0ff14e5f079ade54 100644 (file)
@@ -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: