X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FSparcV9%2FSparcV9InstrSelectionSupport.h;h=9038a4db85ad937581c9a5a775931c953e626e13;hb=8f7802727f796b60fed79bb76f908ff289ad382c;hp=b076db1c03512c1d472b3f5afa2caf9f00082f32;hpb=035dfbe7f2d109008d2d62d9f2a67efb477a7ab6;p=oota-llvm.git diff --git a/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h b/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h index b076db1c035..9038a4db85a 100644 --- a/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h +++ b/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h @@ -62,8 +62,7 @@ ChooseAddInstructionByType(const Type* resultType) if (resultType->isIntegral() || isa(resultType) || isa(resultType) || - resultType == Type::LabelTy || - resultType == Type::BoolTy) + resultType == Type::LabelTy) { opCode = ADD; }