[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 06:24:02 PDT 2024


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

I've changed this to be a searchable table.

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


More information about the llvm-commits mailing list