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 | eb73bdb2e1137a276c6e1310ceb8080695061880 (patch) | |
| tree | b93d0513b0249b0bc01175b0e37a24da73ff8be5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 585f82b6f6ac65dda48c47ad4b0c500f8ea1bfba (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
llvm-svn: 93221
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
