[llvm] [LICM] Only set AA metadata on hoisted load if it executes. (PR #117204)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 23 04:21:32 PST 2024


================
@@ -2030,7 +2030,9 @@ bool llvm::promoteLoopAccessesToScalars(
 
   bool DereferenceableInPH = false;
   bool StoreIsGuanteedToExecute = false;
+  bool LoadIsGuanteedToExecute = false;
----------------
fhahn wrote:

Done. thanks!

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


More information about the llvm-commits mailing list