diff --git a/llvm/lib/Target/AMDGPU/BUFInstructions.td b/llvm/lib/Target/AMDGPU/BUFInstructions.td --- a/llvm/lib/Target/AMDGPU/BUFInstructions.td +++ b/llvm/lib/Target/AMDGPU/BUFInstructions.td @@ -2303,7 +2303,7 @@ def _gfx90a : MUBUF_Real_gfx90a; } -multiclass MUBUF_Real_AllAddr_vi op, bit isAtomic = 0, bit isAtomicRet = 0> { +multiclass MUBUF_Real_AllAddr_vi op> { defm _OFFSET : MUBUF_Real_vi_gfx90a (NAME#"_OFFSET")>; defm _OFFEN : MUBUF_Real_vi_gfx90a (NAME#"_OFFEN")>; defm _IDXEN : MUBUF_Real_vi_gfx90a (NAME#"_IDXEN")>; @@ -2379,7 +2379,7 @@ } multiclass MUBUF_Real_Atomic_vi op> : - MUBUF_Real_AllAddr_vi { + MUBUF_Real_AllAddr_vi { defm _OFFSET_RTN : MUBUF_Real_vi_gfx90a (NAME#"_OFFSET_RTN")>; defm _OFFEN_RTN : MUBUF_Real_vi_gfx90a (NAME#"_OFFEN_RTN")>; defm _IDXEN_RTN : MUBUF_Real_vi_gfx90a (NAME#"_IDXEN_RTN")>;