[all-commits] [llvm/llvm-project] 80f6b4: [MachinePipeliner] Fix incorrect use of getPressur...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Sep 18 21:34:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80f6b42a26ec7594e6b016c5dde5d57db6c9dfb1
https://github.com/llvm/llvm-project/commit/80f6b42a26ec7594e6b016c5dde5d57db6c9dfb1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-09-18 (Wed, 18 Sep 2024)
Changed paths:
M llvm/lib/CodeGen/MachinePipeliner.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list