summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/Local.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-25 06:32:08 +0000
committerChris Lattner <sabre@nondot.org>2004-05-25 06:32:08 +0000
commite1e10e1883ac89d6db1bb94d9c2994cc48fe3adb (patch)
tree122741a5e0dc4952406e8bd8254fe887489a3b37 /llvm/lib/Analysis/DataStructure/Local.cpp
parent6a02158bc5e47cf4226c9b0cb61b283304b55ddb (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud