[llvm] 42d80de - [Intrinsics] Remove duplicate ImmArg attribute on amdgcn.global.load.lds

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 07:34:55 PDT 2022


Author: Nikita Popov
Date: 2022-10-11T16:34:43+02:00
New Revision: 42d80de82a63a252901aca8b08184471c9f27ccf

URL: https://github.com/llvm/llvm-project/commit/42d80de82a63a252901aca8b08184471c9f27ccf
DIFF: https://github.com/llvm/llvm-project/commit/42d80de82a63a252901aca8b08184471c9f27ccf.diff

LOG: [Intrinsics] Remove duplicate ImmArg attribute on amdgcn.global.load.lds

Added: 
    

Modified: 
    llvm/include/llvm/IR/IntrinsicsAMDGPU.td

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index 35791362d066..a90c44ba1995 100644
--- a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -1930,7 +1930,7 @@ class AMDGPUGlobalLoadLDS : Intrinsic <
                                        //                                   bit 2 = dlc on gfx10+))
                                        //                                   bit 4 = scc/nt on gfx90a+))
   [IntrWillReturn, NoCapture<ArgIndex<0>>, NoCapture<ArgIndex<1>>,
-   ImmArg<ArgIndex<2>>, ImmArg<ArgIndex<2>>, ImmArg<ArgIndex<3>>, ImmArg<ArgIndex<4>>],
+   ImmArg<ArgIndex<2>>, ImmArg<ArgIndex<3>>, ImmArg<ArgIndex<4>>],
   "", [SDNPMemOperand]>;
 def int_amdgcn_global_load_lds : AMDGPUGlobalLoadLDS;
 


        


More information about the llvm-commits mailing list