From 1a4a4976d27c9e07f6f561cdecd7ddd46a357fec Mon Sep 17 00:00:00 2001 From: Artyom Skrobov Date: Fri, 27 Nov 2015 16:20:34 +0000 Subject: [PATCH] Follow-up fix for r254201 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254202 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMAsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 2a41c5cb60f..61141c0031d 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -133,7 +133,7 @@ bool ARMAsmPrinter::runOnMachineFunction(MachineFunction &MF) { // 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()) { -- 2.34.1