Skip to content

Commit

Permalink
[X86] combineConcatVectorOps - remove duplicate DAG.getContext() call…
Browse files Browse the repository at this point in the history
…. NFC.
  • Loading branch information
RKSimon authored and sivan-shani committed Feb 21, 2025
1 parent 69a2d0c commit 8294c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57582,7 +57582,7 @@ static SDValue combineConcatVectorOps(const SDLoc &DL, MVT VT,
EVT SubVT = peekThroughBitcasts(Subs[0]).getValueType();
if (SubVT.isSimple() && SubVT.isVector()) {
EVT ConcatVT =
EVT::getVectorVT(*DAG.getContext(), SubVT.getScalarType(),
EVT::getVectorVT(Ctx, SubVT.getScalarType(),
SubVT.getVectorElementCount() * Subs.size());
for (SDValue &Sub : Subs)
Sub = DAG.getBitcast(SubVT, Sub);
Expand Down

0 comments on commit 8294c6f

Please sign in to comment.