llvm-project
80f6b42a - [MachinePipeliner] Fix incorrect use of getPressureSets. (#109179)

Commit
1 year ago
[MachinePipeliner] Fix incorrect use of getPressureSets. (#109179) The code was passing a physical register directly to getPressureSets which expects a register unit. Fix this by looping over the register units and calling getPressureSets for each of them. Found while trying to add a RegisterUnit class to stop storing register units in `Register`. 0 is a valid register unit but not a valid Register.
Author
Parents
Loading