diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-06 17:34:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-06 17:34:50 +0000 |
commit | 48c937e5c9808cc63d2cd04d823642d875c6bf0a (patch) | |
tree | bf8daa41d5ec17f148e59969c0f2d8e467566ee0 /LICENSE.TXT | |
parent | b04da8a3c6488fe396c6d61eec9980598b8c84ae (diff) |
Fix a minor bug in previous checking
Enable folding of long seteq/setne comparisons into branches and select instructions
Implement unfolded long relational comparisons against a constants a bit more efficiently
Folding comparisons changes code that looks like this:
mov %EAX, DWORD PTR [%ESP + 4]
mov %EDX, DWORD PTR [%ESP + 8]
mov %ECX, %EAX
or %ECX, %EDX
sete %CL
test %CL, %CL
je .LBB2 # PC rel: F
into code that looks like this:
mov %EAX, DWORD PTR [%ESP + 4]
mov %EDX, DWORD PTR [%ESP + 8]
mov %ECX, %EAX
or %ECX, %EDX
jne .LBB2 # PC rel: F
This speeds up 186.crafty by 6% with llc-ls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'LICENSE.TXT')
0 files changed, 0 insertions, 0 deletions