[llvm] [AMDGPU] Omit image waits in function prologue on gfx1250 (PR #145097)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 20 14:00:26 PDT 2025
================
@@ -2681,6 +2681,10 @@ bool SIInsertWaitcnts::run(MachineFunction &MF) {
if (CT == LOAD_CNT || CT == DS_CNT || CT == STORE_CNT)
continue;
+ if (!ST->hasImageInsts() &&
+ (CT == EXP_CNT || CT == SAMPLE_CNT || CT == BVH_CNT))
----------------
rampitec wrote:
We may add a feature, but the problem with it we do not like negative features. So a FeatureEXPInsts will need to be added almost everywhere. Sound very invasive.
https://github.com/llvm/llvm-project/pull/145097
More information about the llvm-commits
mailing list