diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-14 19:52:16 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-14 19:52:16 +0000 |
commit | e84178a0bd3a218238b15ef646f2e740f3a48037 (patch) | |
tree | 0112af403b30e3ebed1b7362b6efd9e682494c78 /lib/Support/StringPool.cpp | |
parent | 834480374ba38b2a31d6b63b492e442d75a462cf (diff) |
Extend SimplifyCFG's common-destination folding heuristic to allow a single
"bonus" instruction to be speculatively executed. Add a heuristic to
ensure we're not tripping up out-of-order execution by checking that this bonus
instruction only uses values that were already guaranteed to be available.
This allows us to eliminate the short circuit in (x&1)&&(x&2).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions