projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
On x86 favors folding short immediate into some arithmetic operations (e.g. add,...
[oota-llvm.git]
/
include
/
llvm
/
Value.h
diff --git
a/include/llvm/Value.h
b/include/llvm/Value.h
index 939cf102361f2104d7d2b52ac404166a4d9611a8..ee7e25ac76a7aae45bbc949e3a94fb39fa6fcbdf 100644
(file)
--- a/
include/llvm/Value.h
+++ b/
include/llvm/Value.h
@@
-289,7
+289,8
@@
template <> inline bool isa_impl<GlobalAlias, Value>(const Value &Val) {
return Val.getValueID() == Value::GlobalAliasVal;
}
template <> inline bool isa_impl<GlobalValue, Value>(const Value &Val) {
return Val.getValueID() == Value::GlobalAliasVal;
}
template <> inline bool isa_impl<GlobalValue, Value>(const Value &Val) {
- return isa<GlobalVariable>(Val) || isa<Function>(Val) || isa<GlobalAlias>(Val);
+ return isa<GlobalVariable>(Val) || isa<Function>(Val) ||
+ isa<GlobalAlias>(Val);
}
} // End llvm namespace
}
} // End llvm namespace