[llvm] [AMDGPU] Exclude certain opcodes from being marked as single use (PR #91802)
Scott Egerton via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 13:35:35 PDT 2024
================
@@ -607,6 +615,16 @@ bool isTrue16Inst(unsigned Opc) {
return Info ? Info->IsTrue16 : false;
}
+bool isInvalidSingleUseConsumerInst(unsigned Opc) {
+ const SingleUseExceptionInfo *Info = getSingleUseExceptionHelper(Opc);
+ return Info ? Info->IsInvalidSingleUseConsumer : false;
----------------
ScottEgerton wrote:
Done
https://github.com/llvm/llvm-project/pull/91802
More information about the llvm-commits
mailing list