We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725f382 commit d2d18a6Copy full SHA for d2d18a6
llvm/lib/Target/AArch64/MachineSMEABIPass.cpp
@@ -522,9 +522,9 @@ void MachineSMEABI::emitAllocateLazySaveBuffer(
522
{
523
// Note: This case just needs to do `SVL << 48`. It is not implemented as we
524
// generally don't support big-endian SVE/SME.
525
- assert(
526
- Subtarget->isLittleEndian() &&
527
- "TPIDR2 block initialization is not supported on big-endian targets");
+ if (!Subtarget->isLittleEndian())
+ reportFatalInternalError(
+ "TPIDR2 block initialization is not supported on big-endian targets");
528
529
// Store buffer pointer and num_za_save_slices.
530
// Bytes 10-15 are implicitly zeroed.
0 commit comments