[PATCH] D98888: [AMDGPU] SIOptimizeExecMaskingPreRA should check constant bus constraint when folds EXEC copy
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 18 12:39:44 PDT 2021
rampitec added a comment.
Needs test.
================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp:421
+ MachineInstr *SingleExecUser = &*MRI->use_instr_nodbg_begin(SavedExec);
+ int idx = SingleExecUser->findRegisterUseOperandIdx(SavedExec);
+ assert(idx != -1);
----------------
This could be an implicit use by VALU, which shall be ignored then.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98888/new/
https://reviews.llvm.org/D98888
More information about the llvm-commits
mailing list