aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorLucas Ramirez <11032120+lucas-rami@users.noreply.github.com>2025-07-25 12:51:21 +0200
committerGitHub <noreply@github.com>2025-07-25 12:51:21 +0200
commite38f98f535f6e2ce2b42ea0413919f87b1239964 (patch)
treeeddff09d0f6bff927ae0866a4c817b6aef84707b /llvm/lib/CodeGen/MachineFunction.cpp
parent7392131acfcd2cf78c95bee2b68bb2a66d20e73f (diff)
downloadllvm-e38f98f535f6e2ce2b42ea0413919f87b1239964.zip
llvm-e38f98f535f6e2ce2b42ea0413919f87b1239964.tar.gz
llvm-e38f98f535f6e2ce2b42ea0413919f87b1239964.tar.bz2
[AMDGPU][Scheduler] Fix usage of `TII.reMaterialize` (NFC) (#150259)
Any non-zero `SubIdx` passed to the method is composed with the rematerialized instruction's first operand's subregister to determine the new register's subregister. In our case we want the new register to have the same subregister as the old one, so we should pass 0.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions