VMEM soft clauses only contain VMEM and FLAT instructions. Teaching
GCNHazardRecognizer::checkSoftClauseHazards that other kinds of
instructions will naturally break the clause means there are far fewer
cases where it has to insert an s_nop instruction to forcibly break the
clause.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp | ||
---|---|---|
515–516 | It might be clearer to split this into a breaksSMEMClause(MI) and breaksVMEMClause(MI) |
It might be clearer to split this into a breaksSMEMClause(MI) and breaksVMEMClause(MI)