| Index: src/IceTargetLoweringMIPS32.cpp
|
| diff --git a/src/IceTargetLoweringMIPS32.cpp b/src/IceTargetLoweringMIPS32.cpp
|
| index 51f855d0a8b19a60980e9e8eaed1c9ab06d82f07..952aac81c4861be182de62ffef6cc89b6e9baaf9 100644
|
| --- a/src/IceTargetLoweringMIPS32.cpp
|
| +++ b/src/IceTargetLoweringMIPS32.cpp
|
| @@ -3299,8 +3299,9 @@ void TargetMIPS32::lowerBreakpoint(const InstBreakpoint *Instr) {
|
| UnimplementedLoweringError(this, Instr);
|
| }
|
|
|
| -void TargetMIPS32::lowerUnreachable(const InstUnreachable *Instr) {
|
| - UnimplementedLoweringError(this, Instr);
|
| +void TargetMIPS32::lowerUnreachable(const InstUnreachable *) {
|
| + const uint32_t TrapCodeZero = 0;
|
| + _teq(getZero(), getZero(), TrapCodeZero);
|
| }
|
|
|
| // Turn an i64 Phi instruction into a pair of i32 Phi instructions, to preserve
|
|
|