OSDN Git Service
(root)
/
android-x86
/
external-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
2a41c5c
..
61141c0
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()) {