Clean up formatting.

llvm-svn: 161133
This commit is contained in:
Jim Grosbach 2012-08-01 20:33:02 +00:00
parent b437a8c5d5
commit 96e8a8dc6d
2 changed files with 2 additions and 13 deletions

View File

@ -47,11 +47,6 @@ CheckVMLxHazard("check-vmlx-hazard", cl::Hidden,
cl::desc("Check fp vmla / vmls hazard at isel time"),
cl::init(true));
static cl::opt<bool>
DisableARMIntABS("disable-arm-int-abs", cl::Hidden,
cl::desc("Enable / disable ARM integer abs transform"),
cl::init(false));
//===--------------------------------------------------------------------===//
/// ARMDAGToDAGISel - ARM specific code to select ARM machine
/// instructions for SelectionDAG operations.
@ -2492,9 +2487,6 @@ SDNode *ARMDAGToDAGISel::SelectABSOp(SDNode *N){
SDValue XORSrc1 = N->getOperand(1);
EVT VT = N->getValueType(0);
if (DisableARMIntABS)
return NULL;
if (Subtarget->isThumb1Only())
return NULL;

View File

@ -4068,11 +4068,8 @@ def ISB : AInoP<(outs), (ins memb_opt:$opt), MiscFrm, NoItinerary,
// Pseudo instruction that combines movs + predicated rsbmi
// to implement integer ABS
let usesCustomInserter = 1, Defs = [CPSR] in {
def ABS : ARMPseudoInst<
(outs GPR:$dst), (ins GPR:$src),
8, NoItinerary, []>;
}
let usesCustomInserter = 1, Defs = [CPSR] in
def ABS : ARMPseudoInst<(outs GPR:$dst), (ins GPR:$src), 8, NoItinerary, []>;
let usesCustomInserter = 1 in {
let Defs = [CPSR] in {