Add a new subtarget hook for whether or not we'd like to enable
authorEric Christopher <echristo@gmail.com>
Thu, 19 Jun 2014 21:03:04 +0000 (21:03 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Jun 2014 21:03:04 +0000 (21:03 +0000)
commitd2f9358649478df80d688e77858dee14e37aebed
treed9b4cfb684575b8550ae5825bc976373fae5bedd
parente0d89ff76414a1369c54fbd261308e1c313548d7
Add a new subtarget hook for whether or not we'd like to enable
the atomic load linked expander pass to run for a particular
subtarget. This requires a check of the subtarget and so save
the TargetMachine rather than only TargetLoweringInfo and update
all callers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211314 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSubtargetInfo.h
lib/CodeGen/AtomicExpandLoadLinkedPass.cpp
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/ARMTargetMachine.cpp
lib/Target/TargetSubtargetInfo.cpp