Skip to content

Commit b064927

Browse files
committed
Use fatal error
1 parent 913093f commit b064927

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,9 +2986,9 @@ AArch64TargetLowering::EmitInitTPIDR2Object(MachineInstr &MI,
29862986
if (TPIDR2.Uses > 0) {
29872987
// Note: This case just needs to do `SVL << 48`. It is not implemented as we
29882988
// generally don't support big-endian SVE/SME.
2989-
assert(
2990-
Subtarget->isLittleEndian() &&
2991-
"TPIDR2 block initialization is not supported on big-endian targets");
2989+
if (!Subtarget->isLittleEndian())
2990+
reportFatalInternalError(
2991+
"TPIDR2 block initialization is not supported on big-endian targets");
29922992

29932993
const TargetInstrInfo *TII = Subtarget->getInstrInfo();
29942994
// Store buffer pointer and num_za_save_slices.

0 commit comments

Comments
 (0)