summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-08-29 18:23:02 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-08-29 18:23:02 +0000
commit7dfa791f4fe9cd8896cbf3472311338c912d2514 (patch)
tree557061918a05efcf00c4168e01346aab5a0d12c7 /llvm/lib/Target/ARM
parentb969d9c328ee90302657aaff75f4b6ec838679b7 (diff)
downloadbcm5719-llvm-7dfa791f4fe9cd8896cbf3472311338c912d2514.tar.gz
bcm5719-llvm-7dfa791f4fe9cd8896cbf3472311338c912d2514.zip
Expand ATOMIC_LOAD and ATOMIC_STORE for architectures I don't know well enough to fix properly.
llvm-svn: 138751
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index ccb84ab82c3..ca8f2db96e8 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -596,6 +596,7 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
// ARMv6 Thumb1 (except for CPUs that support dmb / dsb) and earlier use
// the default expansion.
+ // FIXME: This should be checking for v6k, not just v6.
if (Subtarget->hasDataBarrier() ||
(Subtarget->hasV6Ops() && !Subtarget->isThumb())) {
// membarrier needs custom lowering; the rest are legal and handled
OpenPOWER on IntegriCloud