[llvm] [Attributor][FIX] Mark "may" accesses through call sites as such (PR #107439)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 10:57:25 PDT 2024


================
@@ -59,12 +59,12 @@ define i32 @main() nounwind  {
 ; TUNIT-NEXT:    store i32 1, ptr [[S]], align 32
 ; TUNIT-NEXT:    [[VAL4:%.*]] = getelementptr [[STRUCT_SS]], ptr [[S]], i32 0, i32 1
 ; TUNIT-NEXT:    [[TMP0:%.*]] = load i32, ptr [[S]], align 8
-; TUNIT-NEXT:    [[S_B41:%.*]] = getelementptr i8, ptr [[S]], i64 4
-; TUNIT-NEXT:    [[TMP1:%.*]] = load i64, ptr [[S_B41]], align 8
+; TUNIT-NEXT:    [[S_B4:%.*]] = getelementptr i8, ptr [[S]], i64 4
----------------
shiltian wrote:

pre-commit this?

https://github.com/llvm/llvm-project/pull/107439


More information about the llvm-commits mailing list