summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-09-15 22:26:18 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-09-15 22:26:18 +0000
commit10f9ce2b7de2ab69c05e73849e9d1793346ffc6a (patch)
treef692a7b86f21e9aefbeeff954079f58f5c4be388 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent7215c587448341c6ce11f607bc50abfad5500ceb (diff)
downloadbcm5719-llvm-10f9ce2b7de2ab69c05e73849e9d1793346ffc6a.tar.gz
bcm5719-llvm-10f9ce2b7de2ab69c05e73849e9d1793346ffc6a.zip
Minor cleanup.
llvm-svn: 139869
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 02189870f8a..5c40143ef4a 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -4863,8 +4863,7 @@ static SDValue LowerADDC_ADDE_SUBC_SUBE(SDValue Op, SelectionDAG &DAG) {
Op.getOperand(1), Op.getOperand(2));
}
-static SDValue LowerAtomicLoadStore(SDValue Op, SelectionDAG &DAG,
- const ARMSubtarget *ST) {
+static SDValue LowerAtomicLoadStore(SDValue Op, SelectionDAG &DAG) {
// Monotonic load/store is legal for all targets
if (cast<AtomicSDNode>(Op)->getOrdering() <= Monotonic)
return Op;
@@ -4960,7 +4959,7 @@ SDValue ARMTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const {
case ISD::SUBC:
case ISD::SUBE: return LowerADDC_ADDE_SUBC_SUBE(Op, DAG);
case ISD::ATOMIC_LOAD:
- case ISD::ATOMIC_STORE: return LowerAtomicLoadStore(Op, DAG, Subtarget);
+ case ISD::ATOMIC_STORE: return LowerAtomicLoadStore(Op, DAG);
}
return SDValue();
}
OpenPOWER on IntegriCloud