summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcInstrSelectionSupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcInstrSelectionSupport.h')
-rw-r--r--llvm/lib/Target/Sparc/SparcInstrSelectionSupport.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelectionSupport.h b/llvm/lib/Target/Sparc/SparcInstrSelectionSupport.h
index b076db1c035..9038a4db85a 100644
--- a/llvm/lib/Target/Sparc/SparcInstrSelectionSupport.h
+++ b/llvm/lib/Target/Sparc/SparcInstrSelectionSupport.h
@@ -62,8 +62,7 @@ ChooseAddInstructionByType(const Type* resultType)
if (resultType->isIntegral() ||
isa<PointerType>(resultType) ||
isa<FunctionType>(resultType) ||
- resultType == Type::LabelTy ||
- resultType == Type::BoolTy)
+ resultType == Type::LabelTy)
{
opCode = ADD;
}
OpenPOWER on IntegriCloud