summaryrefslogtreecommitdiffstats
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
commit4203039760356c388745025b99b04ae52c4b5c49 (patch)
treefda2e15b0ca958942863f0a4f1a659e7635d8d8b
parent8ed7414e583df33ca8a50fcdf2556e08edc5e4c4 (diff)
downloadbcm5719-llvm-4203039760356c388745025b99b04ae52c4b5c49.tar.gz
bcm5719-llvm-4203039760356c388745025b99b04ae52c4b5c49.zip
Update comment from r203315 based on review
llvm-svn: 203361
-rw-r--r--llvm/test/CodeGen/X86/rotate4.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/rotate4.ll b/llvm/test/CodeGen/X86/rotate4.ll
index 31069899195..b549a9bd935 100644
--- a/llvm/test/CodeGen/X86/rotate4.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud