[PATCH] D29336: [InstCombine] treat i1 as a special type in shouldChangeType()

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 11:07:17 PST 2017


efriedma added a comment.

I think this makes sense; we have getBooleanContents in CodeGen, so we should generate reasonable results for i1 phi nodes even if i1 isn't considered a legal integer type.


https://reviews.llvm.org/D29336





More information about the llvm-commits mailing list