[PATCH] D130466: [LICM] - Add option to allow data races

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 08:44:46 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/test/Transforms/LICM/promote-sink-store-arg.ll:98
+for.inc:                                          ; preds = %for.body
+  %i4 = load i32, ptr %i, align 4
+  %inc = add nsw i32 %i4, 1
----------------
How is the threadedness relevant in a case that doesn't use atomic loads and stores? 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130466/new/

https://reviews.llvm.org/D130466



More information about the llvm-commits mailing list