[llvm] [AMDGPU] Enhance s_waitcnt insertion before barrier for gfx12 (PR #90595)
David Stuttard via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 05:54:20 PDT 2024
================
@@ -1386,6 +1386,14 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
// This is used if an operand is a 32 bit register but needs to be aligned
// regardless.
void enforceOperandRCAlignment(MachineInstr &MI, unsigned OpName) const;
+
+ bool isBarrierStart(uint16_t Opcode) const {
----------------
dstutt wrote:
Mostly :)
https://github.com/llvm/llvm-project/pull/90595
More information about the llvm-commits
mailing list