[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:33 PST 2024
================
@@ -2088,11 +2090,15 @@ bool llvm::promoteLoopAccessesToScalars(
FoundLoadToPromote = true;
Align InstAlignment = Load->getAlign();
+ bool GuaranteedToExecute =
+ SafetyInfo->isGuaranteedToExecute(*UI, DT, CurLoop);
----------------
fhahn wrote:
removed, thanks
https://github.com/llvm/llvm-project/pull/117204
More information about the llvm-commits
mailing list