[llvm] 891d898 - Fixup (#96126) mcdc.ll for aarch64. align is not 8.

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 18:44:17 PDT 2024


Author: NAKAMURA Takumi
Date: 2024-07-31T10:43:42+09:00
New Revision: 891d89804b9a8a2be949aa2aca30acba9bc64ebb

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

LOG: Fixup (#96126) mcdc.ll for aarch64. align is not 8.

Added: 
    

Modified: 
    llvm/test/Instrumentation/InstrProfiling/mcdc.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Instrumentation/InstrProfiling/mcdc.ll b/llvm/test/Instrumentation/InstrProfiling/mcdc.ll
index 8bed7be325fa3..fbdc7b57be428 100644
--- a/llvm/test/Instrumentation/InstrProfiling/mcdc.ll
+++ b/llvm/test/Instrumentation/InstrProfiling/mcdc.ll
@@ -12,8 +12,8 @@ target triple = "x86_64-unknown-linux-gnu"
 
 define dso_local void @test(i32 noundef %A) {
 entry:
-  ; RELOC: %profbm_bias = load i64, ptr @__llvm_profile_bitmap_bias, align 8, !invariant.load !0
-  ; RELOC: %profc_bias = load i64, ptr @__llvm_profile_counter_bias, align 8
+  ; RELOC: %profbm_bias = load i64, ptr @__llvm_profile_bitmap_bias, align [[#]], !invariant.load !0
+  ; RELOC: %profc_bias = load i64, ptr @__llvm_profile_counter_bias, align [[#]]
   %A.addr = alloca i32, align 4
   %mcdc.addr = alloca i32, align 4
   call void @llvm.instrprof.cover(ptr @__profn_test, i64 99278, i32 5, i32 0)


        


More information about the llvm-commits mailing list