[PATCH] InstCombine: Narrow switch instruction operands using known bits

Pete peter_cooper at apple.com
Wed Oct 15 11:35:24 PDT 2014


I think it makes sense to truncate down to the largest legal type as you've done here.  Anything lower than that gets tricky to reason about the quality of code in the backends.

LGTM.

http://reviews.llvm.org/D5691






More information about the llvm-commits mailing list