projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Teach ISel not to optimize 'optnone' functions (revised).
[oota-llvm.git]
/
lib
/
Target
/
TargetMachine.cpp
diff --git
a/lib/Target/TargetMachine.cpp
b/lib/Target/TargetMachine.cpp
index cb42e8311b87953f617a437a454fe281a06ad838..9ba78bce7f9c6eee7d768165f33035c6d941ced3 100644
(file)
--- a/
lib/Target/TargetMachine.cpp
+++ b/
lib/Target/TargetMachine.cpp
@@
-67,7
+67,7
@@
TargetMachine::~TargetMachine() {
void TargetMachine::resetTargetOptions(const MachineFunction *MF) const {
const Function *F = MF->getFunction();
TargetOptions &TO = MF->getTarget().Options;
-
+
#define RESET_OPTION(X, Y) \
do { \
if (F->hasFnAttribute(Y)) \