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

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 05:37:12 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
----------------
Pierre-vh wrote:

I don't know (just picked up the patch) - looks like the right place to me

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


More information about the llvm-commits mailing list