aboutsummaryrefslogtreecommitdiffstats
path: root/ModuleInfo.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-06 18:15:14 +0000
committerChris Lattner <sabre@nondot.org>2009-11-06 18:15:14 +0000
commit785672534d32d196d04ad022c111fde3864e0d28 (patch)
tree55d073b88e18a6c31d79996156268088f94d027f /ModuleInfo.txt
parent8d4e3b5b48b245ed65259270a53fcaf0bf91d9f7 (diff)
downloadexternal_llvm-785672534d32d196d04ad022c111fde3864e0d28.zip
external_llvm-785672534d32d196d04ad022c111fde3864e0d28.tar.gz
external_llvm-785672534d32d196d04ad022c111fde3864e0d28.tar.bz2
Extend jump threading to support much more general threading
predicates. This allows us to jump thread things like: _ZN12StringSwitchI5ColorE4CaseILj7EEERS1_RAT__KcRKS0_.exit119: %tmp1.i24166 = phi i8 [ 1, %bb5.i117 ], [ %tmp1.i24165, %_Z....exit ], [ %tmp1.i24165, %bb4.i114 ] %toBoolnot.i87 = icmp eq i8 %tmp1.i24166, 0 ; <i1> [#uses=1] %tmp4.i90 = icmp eq i32 %tmp2.i, 6 ; <i1> [#uses=1] %or.cond173 = and i1 %toBoolnot.i87, %tmp4.i90 ; <i1> [#uses=1] br i1 %or.cond173, label %bb4.i96, label %_ZN12... Where it is "obvious" that when coming from %bb5.i117 that the 'and' is always false. This triggers a surprisingly high number of times in the testsuite, and gets us closer to generating good code for doug's strswitch testcase. This also make a bunch of other code in jump threading redundant, I'll rip out in the next patch. This survived an enable-checking llvm-gcc bootstrap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'ModuleInfo.txt')
0 files changed, 0 insertions, 0 deletions