[llvm] AMDGPU/GlobalISelDivergenceLowering: select divergent i1 phis (PR #80003)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 05:48:51 PST 2024


petar-avramovic wrote:

Third time's the charm. Fix for https://github.com/llvm/llvm-project/pull/78482.
I did not understand how RegClassOrRegBank works compared to const TargetRegisterClass *. Pointers to RegClassOrRegBank  can't be used since actual object RegClassOrRegBank can me moved when data structure, where RegClassOrRegBanks are stored, in MachineRegisterInfo in needs to increase its size. Change is to use RegClassOrRegBank instead of pointer to RegClassOrRegBank, they also have same size.

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


More information about the llvm-commits mailing list