[llvm] [AMDGPU] LRO: allow same-BB non-lookthrough users for PHI (PR #160909)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 26 08:35:45 PDT 2025
================
@@ -150,7 +150,10 @@ class LiveRegOptimizer {
if (!CVisited.insert(CII).second)
continue;
- if (CII->getParent() == II->getParent() && !IsLookThru(II))
+ // Same-BB filter must look at the *user*; and allow non-lookthrough
----------------
arsenm wrote:
should have test
https://github.com/llvm/llvm-project/pull/160909
More information about the llvm-commits
mailing list