diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-12 02:07:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-12 02:07:17 +0000 |
commit | 2249a0b1bd0941e61c0b87f2f64a5c8cab45f14c (patch) | |
tree | 6b58f509e04767cf04df9b6e1adbecf402537120 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 68c3def12618f73ec237359cb07f8e9e68d50b3a (diff) |
Teach jump threading to duplicate small blocks when the branch
condition is a xor with a phi node. This eliminates nonsense
like this from 176.gcc in several places:
LBB166_84:
testl %eax, %eax
- setne %al
- xorb %cl, %al
- notb %al
- testb $1, %al
- je LBB166_85
+ je LBB166_69
+ jmp LBB166_85
This is rdar://7391699
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
0 files changed, 0 insertions, 0 deletions