[PATCH] D130622: [AMDGPU][SIFoldOperands] Clear kills when folding COPY
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 16:35:31 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIFoldOperands.cpp:741-743
+ for (auto &Use : MRI->use_operands(OpToFold.getReg())) {
+ Use.setIsKill(false);
+ }
----------------
foad wrote:
> Don't need the braces.
You've reinvented MRI.clearKillFlags
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130622/new/
https://reviews.llvm.org/D130622
More information about the llvm-commits
mailing list