[llvm] [SPIR-V] Guard against infinite loop in decorateUsesAsNonUniform (PR #208224)
Juan Manuel Martinez CaamaƱo via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 00:50:26 PDT 2026
================
----------------
jmmartinez wrote:
What if instead of pushing the `ResultReg` we pushed the defining `MachineInst` (`Use`)?
The idea of doing this is to avoid doing the `MachineInstr *DefMI = MRI->getVRegDef(CurrentReg);`.
https://github.com/llvm/llvm-project/pull/208224
More information about the llvm-commits
mailing list