aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringPool.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-14 19:52:16 +0000
committerOwen Anderson <resistor@mac.com>2010-07-14 19:52:16 +0000
commit2cfe91379b2e6a9f113ba0c911f626a3cea99e5a (patch)
treec36773df3117d76e886ed65fa4034d6b118dd895 /llvm/lib/Support/StringPool.cpp
parent9765b9817da65c32a6447e07af56e9510e33e75c (diff)
downloadllvm-2cfe91379b2e6a9f113ba0c911f626a3cea99e5a.zip
llvm-2cfe91379b2e6a9f113ba0c911f626a3cea99e5a.tar.gz
llvm-2cfe91379b2e6a9f113ba0c911f626a3cea99e5a.tar.bz2
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). llvm-svn: 108351
Diffstat (limited to 'llvm/lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions