summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-03-02 20:16:19 +0000
committerJim Grosbach <grosbach@apple.com>2013-03-02 20:16:19 +0000
commitc6f1914ef081f0aaab1b29d42305aa664ccfbc23 (patch)
tree90a88af20aeee540f259a6ace8569136a9fa9333 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent54efea0a7a5e124bd78d6df0e6462a020c887d78 (diff)
downloadbcm5719-llvm-c6f1914ef081f0aaab1b29d42305aa664ccfbc23.tar.gz
bcm5719-llvm-c6f1914ef081f0aaab1b29d42305aa664ccfbc23.zip
Clean up code format a bit.
llvm-svn: 176412
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 0f55e3a17c3..5d24e92f235 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -4468,12 +4468,10 @@ SDValue ARMTargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG,
DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, VT, DAG.getUNDEF(VT),
Value, DAG.getConstant(index, MVT::i32)),
DAG.getConstant(index, MVT::i32));
- } else {
+ } else
N = DAG.getNode(ARMISD::VDUPLANE, dl, VT,
Value->getOperand(0), Value->getOperand(1));
- }
- }
- else
+ } else
N = DAG.getNode(ARMISD::VDUP, dl, VT, Value);
if (!usesOnlyOneValue) {
OpenPOWER on IntegriCloud