| Index: src/IceTargetLoweringMIPS32.cpp
|
| diff --git a/src/IceTargetLoweringMIPS32.cpp b/src/IceTargetLoweringMIPS32.cpp
|
| index a7e579e0e96b0c50b1508b0f6b969d8764fb4dcf..2bfdf7252acd2e832757fc42d5024e7319b1e45c 100644
|
| --- a/src/IceTargetLoweringMIPS32.cpp
|
| +++ b/src/IceTargetLoweringMIPS32.cpp
|
| @@ -1000,7 +1000,7 @@ Operand *TargetMIPS32::legalize(Operand *From, LegalMask Allowed,
|
| // Given the above assertion, if type of operand is not legal
|
| // (e.g., OperandMIPS32Mem and !Legal_Mem), we can always copy
|
| // to a register.
|
| - if (auto C = llvm::dyn_cast<ConstantRelocatable>(From)) {
|
| + if (auto *C = llvm::dyn_cast<ConstantRelocatable>(From)) {
|
| (void)C;
|
| return From;
|
| } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(From)) {
|
| @@ -1027,7 +1027,7 @@ Operand *TargetMIPS32::legalize(Operand *From, LegalMask Allowed,
|
| }
|
| return Reg;
|
| }
|
| - if (auto Var = llvm::dyn_cast<Variable>(From)) {
|
| + if (auto *Var = llvm::dyn_cast<Variable>(From)) {
|
| // Check if the variable is guaranteed a physical register. This
|
| // can happen either when the variable is pre-colored or when it is
|
| // assigned infinite weight.
|
|
|