[PATCH] D118975: [AMDGPU] Allow hoisting of some VALU compare instructions
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 7 13:04:59 PST 2022
rampitec accepted this revision.
rampitec added a comment.
This revision is now accepted and ready to land.
LGTM with a nit.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:142
+ return true;
+ for (MachineInstr &Use : MRI.use_instructions(DstReg)) {
+ switch (Use.getOpcode()) {
----------------
use_nodbg_instructions, otherwise result may be different with and without debug.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118975/new/
https://reviews.llvm.org/D118975
More information about the llvm-commits
mailing list