Files
clang-p2996/llvm/lib/CodeGen/MachinePipeliner.cpp
Craig Topper 80f6b42a26 [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.
2024-09-18 21:34:05 -07:00

134 KiB