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 | 3c6a0d4ae2a5ffb19f2b6527c51c95ea0475ce9f (patch) | |
tree | c3ed6ac57c248ab12f1351bd938cf076fc3b6ed7 /lib/Analysis/DataStructure/Local.cpp | |
parent | 256b7a452ba55daedd499a06594568c4d630b77c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
0 files changed, 0 insertions, 0 deletions