[llvm] [AMDGPU][SIInsertWaitcnts] Do not add s_waitcnt when the counters are known to be 0 already (PR #72830)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 03:30:19 PST 2023


Juan Manuel MARTINEZ =?utf-8?q?CAAMA=C3=91O?= <juamarti at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/72830 at github.com>


================
@@ -8774,6 +8774,11 @@ bool SIInstrInfo::isAsmOnlyOpcode(int MCOp) const {
 }
 
 int SIInstrInfo::pseudoToMCOpcode(int Opcode) const {
+
+  // FIXME: move to the right place
----------------
rovka wrote:

Where's the right place? :) This comment should be a bit more specific

https://github.com/llvm/llvm-project/pull/72830


More information about the llvm-commits mailing list