[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:12 PDT 2024


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

This feels like it needs to be an instruction bit and/or searchable table 

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


More information about the llvm-commits mailing list