[llvm] ac62e7b - [AMDGPU] Remove some unneeded curly braces

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 11:09:24 PDT 2023


Author: Jay Foad
Date: 2023-03-17T18:09:13Z
New Revision: ac62e7b6cb450c1d36807f49b51f5e748764b49d

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

LOG: [AMDGPU] Remove some unneeded curly braces

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SMInstructions.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SMInstructions.td b/llvm/lib/Target/AMDGPU/SMInstructions.td
index 415853d8ef50..29f868ab1852 100644
--- a/llvm/lib/Target/AMDGPU/SMInstructions.td
+++ b/llvm/lib/Target/AMDGPU/SMInstructions.td
@@ -969,8 +969,7 @@ class SMEM_Real_gfx10<bits<8> op, SM_Pseudo ps>
 }
 
 class SMEM_Real_Load_gfx10<bits<8> op, string ps, OffsetMode offsets>
-    : SMEM_Real_gfx10<op, !cast<SM_Pseudo>(ps # offsets.Variant)> {
-}
+    : SMEM_Real_gfx10<op, !cast<SM_Pseudo>(ps # offsets.Variant)>;
 
 multiclass SM_Real_Loads_gfx10<bits<8> op, string ps> {
   def _IMM_gfx10 : SMEM_Real_Load_gfx10<op, ps, IMM_Offset>;


        


More information about the llvm-commits mailing list