[llvm] [CodeGen] MachineLICM: Do not consider "loop liveins" as loop defs (PR #121769)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 07:01:50 PST 2025


================
@@ -644,6 +638,16 @@ void MachineLICMImpl::HoistRegionPostRA(MachineLoop *CurLoop,
       ProcessMI(&MI, RUDefs, RUClobbers, StoredFIs, Candidates, CurLoop);
----------------
gbossu wrote:

Agreed, although I think the pass is still safe because it checks all candidates a final time once all register defs/clobbers have been gathered.

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


More information about the llvm-commits mailing list