commit | d2f9358649478df80d688e77858dee14e37aebed | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Thu Jun 19 21:03:04 2014 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Thu Jun 19 21:03:04 2014 +0000 |
tree | d9b4cfb684575b8550ae5825bc976373fae5bedd | |
parent | e0d89ff76414a1369c54fbd261308e1c313548d7 [diff] |
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