Skip to content

Commit 3dedb4b

Browse files
- Use Subtarget from AArch64TargetLowering in LowerGET_ACTIVE_LANE_MASK
1 parent 0ed8aad commit 3dedb4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29551,8 +29551,7 @@ AArch64TargetLowering::LowerGET_ACTIVE_LANE_MASK(SDValue Op,
2955129551
EVT VT = Op.getValueType();
2955229552
assert(VT.isFixedLengthVector() && "Expected fixed length vector type!");
2955329553

29554-
auto &Subtarget = DAG.getSubtarget<AArch64Subtarget>();
29555-
assert(Subtarget.isSVEorStreamingSVEAvailable() &&
29554+
assert(Subtarget->isSVEorStreamingSVEAvailable() &&
2955629555
"Lowering fixed length get_active_lane_mask requires SVE!");
2955729556

2955829557
// There are no dedicated fixed-length instructions for GET_ACTIVE_LANE_MASK,

0 commit comments

Comments
 (0)