diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-05-06 14:03:22 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-05-06 14:03:22 +0000 |
commit | e452998b4bbda07a4ba22b034a109daa90d7519e (patch) | |
tree | 06cea7da9bd6fd24d958087575fd18dac71c3528 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | d7c0be9c42e8c0f7ec844d5219ef51cbc5e1952a (diff) | |
download | bcm5719-llvm-e452998b4bbda07a4ba22b034a109daa90d7519e.tar.gz bcm5719-llvm-e452998b4bbda07a4ba22b034a109daa90d7519e.zip |
Reformat.
llvm-svn: 236601
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 34ddeb7e9c3..38e39e52e81 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -2658,8 +2658,8 @@ SDValue TargetLowering::BuildExactSDIV(SDValue Op1, SDValue Op2, SDLoc dl, unsigned ShAmt = d.countTrailingZeros(); if (ShAmt) { // TODO: For UDIV use SRL instead of SRA. - SDValue Amt = DAG.getConstant(ShAmt, dl, - getShiftAmountTy(Op1.getValueType())); + SDValue Amt = + DAG.getConstant(ShAmt, dl, getShiftAmountTy(Op1.getValueType())); Op1 = DAG.getNode(ISD::SRA, dl, Op1.getValueType(), Op1, Amt, false, false, true); d = d.ashr(ShAmt); |