diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-25 06:32:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-25 06:32:08 +0000 |
commit | e1e10e1883ac89d6db1bb94d9c2994cc48fe3adb (patch) | |
tree | 122741a5e0dc4952406e8bd8254fe887489a3b37 /llvm/lib/Analysis/DataStructure/Local.cpp | |
parent | 6a02158bc5e47cf4226c9b0cb61b283304b55ddb (diff) | |
download | bcm5719-llvm-e1e10e1883ac89d6db1bb94d9c2994cc48fe3adb.tar.gz bcm5719-llvm-e1e10e1883ac89d6db1bb94d9c2994cc48fe3adb.zip |
Implement InstCombine:shift.ll:test16, which turns (X >> C1) & C2 != C3
into (X & (C2 << C1)) != (C3 << C1), where the shift may be either left or
right and the compare may be any one.
This triggers 1546 times in 176.gcc alone, as it is a common pattern that
occurs for bitfield accesses.
llvm-svn: 13740
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
0 files changed, 0 insertions, 0 deletions