diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-15 07:36:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-15 07:36:13 +0000 |
commit | 8df83c4a240293463700b0b97ca9e5425878c0ef (patch) | |
tree | 55369f41522b8b2ef02baf063cc7dfbed39b767d /llvm/lib/Linker/LinkModules.cpp | |
parent | ee588defc6957cbd9624e0061f7e6f20e5189f4a (diff) | |
download | bcm5719-llvm-8df83c4a240293463700b0b97ca9e5425878c0ef.tar.gz bcm5719-llvm-8df83c4a240293463700b0b97ca9e5425878c0ef.zip |
fix rdar://8785296 - -fcatch-undefined-behavior generates inefficient code
The basic issue is that isel (very reasonably!) expects conditional branches
to be folded, so CGP leaving around a bunch dead computation feeding
conditional branches isn't such a good idea. Just fold branches on constants
into unconditional branches.
llvm-svn: 123526
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
0 files changed, 0 insertions, 0 deletions