diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-02-04 23:32:37 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-02-04 23:32:37 +0000 |
commit | 27dfb1e1a4e6d3c36e0ade15792dbd1487c7a931 (patch) | |
tree | 596485e88585e2181df2491eb8d87c3e079bf6b3 /clang/lib/Basic/IdentifierTable.cpp | |
parent | 67da35c832e66d3310ed67486cb46306f20cc642 (diff) | |
download | bcm5719-llvm-27dfb1e1a4e6d3c36e0ade15792dbd1487c7a931.tar.gz bcm5719-llvm-27dfb1e1a4e6d3c36e0ade15792dbd1487c7a931.zip |
Do not reassociate expressions with i1 type. SimplifyCFG converts some
short-circuited conditions to AND/OR expressions, and those expressions
are often converted back to a short-circuited form in code gen. The
original source order may have been optimized to take advantage of the
expected values, and if we reassociate them, we change the order and
subvert that optimization. Radar 7497329.
llvm-svn: 95333
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions