summaryrefslogtreecommitdiffstats
path: root/libcxx/benchmarks/algorithms.bench.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-05-29 16:25:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-05-29 16:25:20 +0000
commitfd1952761ed3691ef118f6ef4c6cc51b4d37de75 (patch)
treee01c8b0290fce6d9c06d0cbe3d027c09d92fc51d /libcxx/benchmarks/algorithms.bench.cpp
parenteed7a3102c51d863ff9035d31a33313e77364692 (diff)
downloadbcm5719-llvm-fd1952761ed3691ef118f6ef4c6cc51b4d37de75.tar.gz
bcm5719-llvm-fd1952761ed3691ef118f6ef4c6cc51b4d37de75.zip
[X86] Don't fold away the memory operand of an xchg.
xchg with a mem operand has different locking semantics. If we unfold it into a xchg r,r we will loose the implicit lock. Likewise we never want to fold a register xchg into a memory one as it would be a lot slower. This triggers during LLVM selfhost. llvm-svn: 304163
Diffstat (limited to 'libcxx/benchmarks/algorithms.bench.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud