AArch64: lower "fence singlethread" to a pure compiler barrier.
authorTim Northover <tnorthover@apple.com>
Thu, 20 Apr 2017 21:57:45 +0000 (21:57 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 20 Apr 2017 21:57:45 +0000 (21:57 +0000)
commit100b7f6eae1cd65c4ec2271fecb50c64e27e5d51
tree2c885dc4b2f8670258653735309ff919de3c6472
parent46e58354daa0e6508a25e3e74b926b8eb6374ccd
AArch64: lower "fence singlethread" to a pure compiler barrier.

Single-threaded fences aren't required to provide any synchronization with
other processing elements so there's no need for a DMB. They should still be a
barrier for compiler optimizations though.

llvm-svn: 300905
llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
llvm/lib/Target/AArch64/AArch64InstrAtomics.td
llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp