diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-17 06:10:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-17 06:10:40 +0000 |
commit | de95c9e0bb2026b322c00916ab8be485595e594c (patch) | |
tree | 39914e02695570cfae56a14f0d973dd9710c6b33 /lib/Transforms/Utils/PromoteMemoryToRegister.cpp | |
parent | 9894cd300e0f361be9b2d753da43d0361a76118d (diff) |
fold:
%X = and Y, constantint
%Z = setcc %X, 0
instead of emitting:
and %EAX, 3
test %EAX, %EAX
je .LBBfoo2_2 # UnifiedReturnBlock
We now emit:
test %EAX, 3
je .LBBfoo2_2 # UnifiedReturnBlock
This triggers 581 times on 176.gcc for example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions