Teach ValueTracking a new way to analyze PHI nodes, and and teach
Instcombine to be more aggressive about using SimplifyDemandedBits
on shift nodes. This allows a shift to be simplified to zero in the
included test case.

llvm-svn: 72204
3 files changed
tree: 98b342c47142270144605146ad20384987dc2b71
  1. clang/
  2. llvm/