commit | 235859d66cf3faf7453f59b92cc4056ae1855d0d | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Sep 29 22:57:02 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Sep 29 22:57:02 2010 +0000 |
tree | b559be27bd52d193b709bf291d493fb766bef480 | |
parent | 3881cb7a5d54c0011b40997adcd742e1c7b91abd [diff] |
Early CFG simplification can fold conditionals down to selects, which is often a good thing, but it can also hide jump threading opportunities by turning control flow into data flow. Run an early JumpThreading pass (adds approximately an additional 1% to optimization time on SPEC), allowing it to get a shot at these cases first. Fixes <rdar://problem/8447345>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115099 91177308-0d34-0410-b5e6-96231b3b80d8