summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorRanjeet Singh <Ranjeet.Singh@arm.com>2016-06-13 10:58:24 +0000
committerRanjeet Singh <Ranjeet.Singh@arm.com>2016-06-13 10:58:24 +0000
commit933e1aa39f46383ef173987ba8cd38a290c47452 (patch)
tree39972a5239c713e15a52316922dee77b2f2cc3b8 /llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
parent299abc10e7091bd93a9463e1f393310c7bacdc42 (diff)
downloadbcm5719-llvm-933e1aa39f46383ef173987ba8cd38a290c47452.tar.gz
bcm5719-llvm-933e1aa39f46383ef173987ba8cd38a290c47452.zip
[ARM] Reverting r272544 because clang patch needs
to go in as soon as llvm patch has gone in because tests will start breaking in Clang. llvm-svn: 272546
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
index 74ce939ffd4..061c4b79266 100644
--- a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
@@ -3335,34 +3335,6 @@ void ARMDAGToDAGISel::Select(SDNode *N) {
default:
break;
- case Intrinsic::arm_mrrc:
- case Intrinsic::arm_mrrc2: {
- SDLoc dl(N);
- SDValue Chain = N->getOperand(0);
- unsigned Opc;
-
- if (Subtarget->isThumb())
- Opc = (IntNo == Intrinsic::arm_mrrc ? ARM::t2MRRC : ARM::t2MRRC2);
- else
- Opc = (IntNo == Intrinsic::arm_mrrc ? ARM::MRRC : ARM::MRRC2);
-
- SmallVector<SDValue, 5> Ops;
- Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(), dl)); /* coproc */
- Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(), dl)); /* opc */
- Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(), dl)); /* CRm */
- Ops.push_back(getAL(CurDAG, dl));
- Ops.push_back(CurDAG->getRegister(0, MVT::i32));
- Ops.push_back(Chain);
-
- // Writes to two registers.
- std::vector<EVT> RetType;
- RetType.push_back(MVT::i32);
- RetType.push_back(MVT::i32);
- RetType.push_back(MVT::Other);
-
- ReplaceNode(N, CurDAG->getMachineNode(Opc, dl, RetType, Ops));
- return;
- }
case Intrinsic::arm_ldaexd:
case Intrinsic::arm_ldrexd: {
SDLoc dl(N);
OpenPOWER on IntegriCloud