Skip to content

Commit 38aa26b

Browse files
committed
Update llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
1 parent 478a7f9 commit 38aa26b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4661,8 +4661,7 @@ bool AArch64DAGToDAGISel::trySelectXAR(SDNode *N) {
46614661
}
46624662

46634663
SDValue Ops[] = {R1, R2, Imm};
4664-
SDNode *XAR =
4665-
CurDAG->getMachineNode(AArch64::XAR, DL, R1.getValueType(), Ops);
4664+
SDNode *XAR = CurDAG->getMachineNode(AArch64::XAR, DL, MVT::v2i64, Ops);
46664665

46674666
if (VT == MVT::v1i64) {
46684667
SDValue DSub = CurDAG->getTargetConstant(AArch64::dsub, DL, MVT::i32);

0 commit comments

Comments
 (0)