[llvm] [AMDGPU] Exclude certain opcodes from being marked as single use (PR #91802)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 04:34:11 PDT 2024
================
@@ -81,6 +83,8 @@ class VOP_Pseudo <string opName, string suffix, VOPProfile P, dag outs, dag ins,
string Mnemonic = opName;
Instruction Opcode = !cast<Instruction>(NAME);
bit IsTrue16 = P.IsTrue16;
+ bit IsInvalidSingleUseConsumer = P.IsInvalidSingleUseConsumer;
+ bit IsInvalidSingleUseProducer = P.IsInvalidSingleUseProducer;
----------------
jayfoad wrote:
Just set them to 0 (or false) here and let specific instructions override them.
https://github.com/llvm/llvm-project/pull/91802
More information about the llvm-commits
mailing list