diff options
author | Alex Bradbury <asb@igalia.com> | 2024-01-16 07:14:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 07:14:41 +0000 |
commit | 57d517c2571d16837a018740c068cca89435ea65 (patch) | |
tree | 807121b5c395417b38c6203d826d18d7b4b6b7dd /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 5f24e779426594448d803906d44481f5137ed052 (diff) | |
download | llvm-57d517c2571d16837a018740c068cca89435ea65.zip llvm-57d517c2571d16837a018740c068cca89435ea65.tar.gz llvm-57d517c2571d16837a018740c068cca89435ea65.tar.bz2 |
[RISCV] Implement RISCVInsrInfo::getConstValDefinedInReg (#77610)
This helper function handles common cases where we can determine a
constant value is being defined in a register. Although it looks like
codegen changes are possible due to this being called in
PeepholeOptimizer, my main motivation is to use this in
describeLoadedValue.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions