Instcombine (X & FF00) + xx00 -> (X+xx00) & FF00, implementing and.ll:test27
authorChris Lattner <sabre@nondot.org>
Fri, 8 Oct 2004 05:07:56 +0000 (05:07 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 8 Oct 2004 05:07:56 +0000 (05:07 +0000)
commitb99d6b1cac36d4b24aa3e520c87826012eaffe45
tree35ca363b54db9f36a00c35192a1b7a9492938157
parent8797f5975878b7daab4ef15787dc649f6088c073
Instcombine (X & FF00) + xx00  -> (X+xx00) & FF00, implementing and.ll:test27

This comes up when doing adds to bitfield elements.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16836 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp