aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2024-01-16 07:14:41 +0000
committerGitHub <noreply@github.com>2024-01-16 07:14:41 +0000
commit57d517c2571d16837a018740c068cca89435ea65 (patch)
tree807121b5c395417b38c6203d826d18d7b4b6b7dd /llvm/lib/CodeGen/MachineScheduler.cpp
parent5f24e779426594448d803906d44481f5137ed052 (diff)
downloadllvm-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