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)
commitc40e5edbbc85ed9346417d13f99137fa66dff1a1
tree5b4b60dc1813f203e918a11bac62222e8ad452da
parent61d5d38e807b85d5db1fa091e1f6ddcf6e50aff4
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.

llvm-svn: 211314
llvm/include/llvm/Target/TargetSubtargetInfo.h
llvm/lib/CodeGen/AtomicExpandLoadLinkedPass.cpp
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/lib/Target/ARM/ARMSubtarget.h
llvm/lib/Target/ARM/ARMTargetMachine.cpp
llvm/lib/Target/TargetSubtargetInfo.cpp