Skip to content

Commit 13e0640

Browse files
authored
[GlobalISel] Remove dead code. (NFC) (llvm#145811)
LegalizerHelper::lowerMemCpyFamily only execpts G_MEMCPY, G_MEMMOVE, and G_MMSET.
1 parent 16e712e commit 13e0640

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10099,10 +10099,6 @@ LegalizerHelper::lowerMemCpyFamily(MachineInstr &MI, unsigned MaxLen) {
1009910099
}
1010010100

1010110101
bool IsVolatile = MemOp->isVolatile();
10102-
if (Opc == TargetOpcode::G_MEMCPY_INLINE)
10103-
return lowerMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign,
10104-
IsVolatile);
10105-
1010610102
// Don't try to optimize volatile.
1010710103
if (IsVolatile)
1010810104
return UnableToLegalize;

0 commit comments

Comments
 (0)