diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-02 05:36:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-02 05:36:01 +0000 |
commit | 6409e7d4e97c6eabbd28fecaadaf598b4fd9e9b3 (patch) | |
tree | 5da47f67b40800f373194d5834eccfe08a54de71 /llvm/lib/Transforms/Scalar/LoopDeletion.cpp | |
parent | 71235ecb7fa323b597051c1f097d9b6515a41c37 (diff) | |
download | bcm5719-llvm-6409e7d4e97c6eabbd28fecaadaf598b4fd9e9b3.tar.gz bcm5719-llvm-6409e7d4e97c6eabbd28fecaadaf598b4fd9e9b3.zip |
Don't split critical edges during the AddUsersIfInteresting phase
of LSR. This makes the AddUsersIfInteresting phase of LSR a pure
analysis instead of a phase that potentially does CFG modifications.
The conditions where this code would actually perform a split are
rare, and in the cases where it actually would do a split the split
is usually undone by CodeGenPrepare, and in cases where splits
actually survive into codegen, they appear to hurt more often than
they help.
llvm-svn: 70625
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDeletion.cpp')
0 files changed, 0 insertions, 0 deletions