projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use higher level method
[oota-llvm.git]
/
lib
/
Target
/
SparcV9
/
SparcV9InstrSelectionSupport.h
diff --git
a/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h
b/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h
index b076db1c03512c1d472b3f5afa2caf9f00082f32..9038a4db85ad937581c9a5a775931c953e626e13 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9InstrSelectionSupport.h
+++ b/
lib/Target/SparcV9/SparcV9InstrSelectionSupport.h
@@
-62,8
+62,7
@@
ChooseAddInstructionByType(const Type* resultType)
if (resultType->isIntegral() ||
isa<PointerType>(resultType) ||
isa<FunctionType>(resultType) ||
if (resultType->isIntegral() ||
isa<PointerType>(resultType) ||
isa<FunctionType>(resultType) ||
- resultType == Type::LabelTy ||
- resultType == Type::BoolTy)
+ resultType == Type::LabelTy)
{
opCode = ADD;
}
{
opCode = ADD;
}