[llvm] r203361 - Update comment from r203315 based on review
Adam Nemet
anemet at apple.com
Sat Mar 8 13:51:56 PST 2014
Author: anemet
Date: Sat Mar 8 15:51:55 2014
New Revision: 203361
URL: http://llvm.org/viewvc/llvm-project?rev=203361&view=rev
Log:
Update comment from r203315 based on review
Modified:
llvm/trunk/test/CodeGen/X86/rotate4.ll
Modified: llvm/trunk/test/CodeGen/X86/rotate4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/rotate4.ll?rev=203361&r1=203360&r2=203361&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/rotate4.ll (original)
+++ llvm/trunk/test/CodeGen/X86/rotate4.ll Sat Mar 8 15:51:55 2014
@@ -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:
More information about the llvm-commits
mailing list