"clang/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "89e6a9b98c4913588414edd9861eb97e76a9e07d"
Three changes:
1. Teach GetConstantInType to handle boolean constants. 2. Teach instcombine to fold (compare X, CST) when X has known 0/1 bits. Testcase here: set.ll:test22 3. Improve the "(X >> c1) & C2 == 0" folding code to allow a noop cast between the shift and and. More aggressive bitfolding for other reasons was turning signed shr's into unsigned shr's, leaving the noop cast in the way. llvm-svn: 26131
Loading
Please register or sign in to comment