[Intrinsics] Remove duplicate ImmArg attribute on amdgcn.global.load.lds
authorNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 14:32:18 +0000 (16:32 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 14:34:43 +0000 (16:34 +0200)
llvm/include/llvm/IR/IntrinsicsAMDGPU.td

index 3579136..a90c44b 100644 (file)
@@ -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;