Use higher level method
[oota-llvm.git] / lib / Target / SparcV9 / SparcV9InstrSelectionSupport.h
index b076db1c03512c1d472b3f5afa2caf9f00082f32..9038a4db85ad937581c9a5a775931c953e626e13 100644 (file)
@@ -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;
     }