projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d5618
)
Follow-up fix for r254201
author
Artyom Skrobov
<Artyom.Skrobov@arm.com>
Fri, 27 Nov 2015 16:20:34 +0000
(16:20 +0000)
committer
Artyom Skrobov
<Artyom.Skrobov@arm.com>
Fri, 27 Nov 2015 16:20:34 +0000
(16:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254202
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMAsmPrinter.cpp
b/lib/Target/ARM/ARMAsmPrinter.cpp
index 2a41c5cb60faa43c7a59b6ee0474626a99aeb124..61141c0031df07eb80765edfec3d652d42489634 100644
(file)
--- 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()) {