| Index: src/IceTargetLoweringARM32.cpp
|
| diff --git a/src/IceTargetLoweringARM32.cpp b/src/IceTargetLoweringARM32.cpp
|
| index 0761f0297dada3a287a8742875b1474bb3ea4fb1..31a33ea4f6b5514c9f9408a534e2b4cc1f7940a4 100644
|
| --- a/src/IceTargetLoweringARM32.cpp
|
| +++ b/src/IceTargetLoweringARM32.cpp
|
| @@ -2502,7 +2502,7 @@ void TargetARM32::lowerFcmp(const InstFcmp *Instr) {
|
| return;
|
| }
|
|
|
| - Variable *T = makeReg(IceType_i32);
|
| + Variable *T = makeReg(IceType_i1);
|
| Operand *_1 = Ctx->getConstantInt32(1);
|
| Operand *_0 = Ctx->getConstantZero(IceType_i32);
|
|
|
| @@ -2668,7 +2668,7 @@ void TargetARM32::lowerIcmp(const InstIcmp *Inst) {
|
|
|
| Constant *_0 = Ctx->getConstantZero(IceType_i32);
|
| Constant *_1 = Ctx->getConstantInt32(1);
|
| - Variable *T = makeReg(IceType_i32);
|
| + Variable *T = makeReg(IceType_i1);
|
|
|
| CondARM32::Cond CondIfTrue, CondIfFalse;
|
| lowerIcmpCond(Inst, &CondIfTrue, &CondIfFalse);
|
|
|