Skip to content

Commit e4fbaa3

Browse files
committed
dyn_cast -> isa
1 parent c0a8b32 commit e4fbaa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86LowerAMXType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ bool X86LowerAMXCast::combineLdSt(SmallVectorImpl<Instruction *> &Casts) {
12221222
// %19 = tail call x86_amx @llvm.x86.cast.vector.to.tile.v256i32(<256 x i32> zeroinitializer)
12231223
// -->
12241224
// %19 = tail call x86_amx @llvm.x86.tilezero.internal(i16 %row, i16 %col)
1225-
if (dyn_cast<ConstantAggregateZero>(Cast->getOperand(0))) {
1225+
if (isa<ConstantAggregateZero>(Cast->getOperand(0))) {
12261226
Change |= combineTilezero(cast<IntrinsicInst>(Cast));
12271227
continue;
12281228
}

0 commit comments

Comments
 (0)