[llvm] r254202 - Follow-up fix for r254201
Artyom Skrobov via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 27 08:20:34 PST 2015
Author: askrobov
Date: Fri Nov 27 10:20:34 2015
New Revision: 254202
URL: http://llvm.org/viewvc/llvm-project?rev=254202&view=rev
Log:
Follow-up fix for r254201
Modified:
llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp?rev=254202&r1=254201&r2=254202&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp Fri Nov 27 10:20:34 2015
@@ -133,7 +133,7 @@ bool ARMAsmPrinter::runOnMachineFunction
// Combine a new optimization goal with existing ones.
if (OptimizationGoals == -1) // uninitialized goals
OptimizationGoals = OptimizationGoal;
- else if (OptimizationGoals != OptimizationGoal) // conflicting goals
+ else if (OptimizationGoals != (int)OptimizationGoal) // conflicting goals
OptimizationGoals = 0;
if (Subtarget->isTargetCOFF()) {
More information about the llvm-commits
mailing list