[llvm] be383de - Fix machine-sink-cache-invalidation post - 8abb2ace8

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 6 21:58:41 PDT 2023


Author: Mircea Trofin
Date: 2023-10-06T21:49:36-07:00
New Revision: be383de0c62417cf7576f6a30b8435d69539241a

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

LOG: Fix machine-sink-cache-invalidation post - 8abb2ace8

The test was added after a9d0ab2, which is what 8abb2ace8 reverted. The
test is sensitive to the exact instruction sequence in the output, which
has changed.

Re-gen-ed the test with update_llc_test_checks.py

Added: 
    

Modified: 
    llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll b/llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
index ce000021fb29bff..ad6fdb6f1f9b944 100644
--- a/llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
+++ b/llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
@@ -22,7 +22,8 @@ define i32 @nsis_BZ2_bzDecompress(ptr %pos.i, i1 %cmp661.not3117.i, i1 %exitcond
 ; CHECK-NEXT:    // in Loop: Header=BB0_2 Depth=1
 ; CHECK-NEXT:    mov x9, xzr
 ; CHECK-NEXT:    ldrb w9, [x9]
-; CHECK-NEXT:    strb wzr, [x0, x9]
+; CHECK-NEXT:    add x9, x0, x9
+; CHECK-NEXT:    strb wzr, [x9]
 ; CHECK-NEXT:    b .LBB0_1
 ; CHECK-NEXT:  .LBB0_4: // %for.end677.i
 ; CHECK-NEXT:    mov w0, wzr


        


More information about the llvm-commits mailing list