[llvm] [AMDGPU] Exclude certain opcodes from being marked as single use (PR #91802)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 14:56:37 PDT 2024


================
@@ -132,6 +132,153 @@ class AMDGPUInsertSingleUseVDST : public MachineFunctionPass {
 
   AMDGPUInsertSingleUseVDST() : MachineFunctionPass(ID) {}
 
+  static bool IsValidOpcode(const MachineInstr &MI) {
----------------
arsenm wrote:

Or could we derive this from the scheduling info? 

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


More information about the llvm-commits mailing list