Skip to content

Commit a11d9a1

Browse files
committed
[AArch64][GlobalISel] Fix constraining LDXPX intrinsic selection.
Causes a fallback because of lack of regclasses on vregs, unless its without asserts, where we end up crashing later in codegen.
1 parent 1ee6559 commit a11d9a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5042,6 +5042,7 @@ bool AArch64InstructionSelector::selectIntrinsicWithSideEffects(
50425042
{I.getOperand(0).getReg(), I.getOperand(1).getReg()},
50435043
{I.getOperand(3)});
50445044
NewI.cloneMemRefs(I);
5045+
constrainSelectedInstRegOperands(*NewI, TII, TRI, RBI);
50455046
break;
50465047
}
50475048
case Intrinsic::trap:

0 commit comments

Comments
 (0)