Skip to content

Commit 331f22a

Browse files
authored
[AMDGPU] Remove unnecessary predicates from aliases. NFC. (#91602)
So long as the target of the alias is predicated with HasImageInsts or similar, the alias itself does not need this predicate.
1 parent 6317742 commit 331f22a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

llvm/lib/Target/AMDGPU/EXPInstructions.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ multiclass VEXPORT_Real_gfx12 {
125125
}
126126
def : AMDGPUMnemonicAlias<"exp", "export"> {
127127
let AssemblerPredicate = isGFX12Plus;
128-
let OtherPredicates = [HasExportInsts];
129128
}
130129
}
131130

llvm/lib/Target/AMDGPU/MIMGInstructions.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,6 @@ multiclass MIMG_Atomic_Addr_Helper_m <mimgopc op, string asm,
10791079
if !and(op.HAS_GFX12, !not(!empty(renamed))) then
10801080
def : AMDGPUMnemonicAlias<asm, renamed> {
10811081
let AssemblerPredicate = isGFX12Plus;
1082-
let OtherPredicates = [HasImageInsts];
10831082
bit IsAtomicRet; // Unused
10841083
MIMGBaseOpcode BaseOpcode; // Unused
10851084
int VDataDwords; // Unused

0 commit comments

Comments
 (0)