[llvm] 9c92daa - [AggressiveInstCombine] Regenerate rotate tests

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 09:26:52 PST 2020


Author: Simon Pilgrim
Date: 2020-11-02T17:26:35Z
New Revision: 9c92daaa87cacae00e5c2561fa5f72c32ad5ca01

URL: https://github.com/llvm/llvm-project/commit/9c92daaa87cacae00e5c2561fa5f72c32ad5ca01
DIFF: https://github.com/llvm/llvm-project/commit/9c92daaa87cacae00e5c2561fa5f72c32ad5ca01.diff

LOG: [AggressiveInstCombine] Regenerate rotate tests

Added: 
    

Modified: 
    llvm/test/Transforms/AggressiveInstCombine/rotate.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/AggressiveInstCombine/rotate.ll b/llvm/test/Transforms/AggressiveInstCombine/rotate.ll
index 20499087e35c..e47fa9be6f83 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/rotate.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/rotate.ll
@@ -451,7 +451,7 @@ define i32 @could_be_rotr(i32 %a, i32 %b, i32* %p) {
 ; CHECK-NEXT:    [[SHL:%.*]] = shl i32 [[A:%.*]], [[SUB]]
 ; CHECK-NEXT:    [[SHR:%.*]] = lshr i32 [[A]], [[B]]
 ; CHECK-NEXT:    [[OR:%.*]] = or i32 [[SHL]], [[SHR]]
-; CHECK-NEXT:    store i32 [[OR]], i32* [[P:%.*]]
+; CHECK-NEXT:    store i32 [[OR]], i32* [[P:%.*]], align 4
 ; CHECK-NEXT:    br label [[END]]
 ; CHECK:       end:
 ; CHECK-NEXT:    [[COND:%.*]] = phi i32 [ [[A]], [[ENTRY:%.*]] ], [ [[OR]], [[ROTBB]] ]


        


More information about the llvm-commits mailing list