[PATCH] D47983: [IR][PatternMatch] m_APInt(): allow undef elements.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 11:59:56 PDT 2018


RKSimon added a comment.

Would it be better to implement m_APInt_or_Undef and m_APFloat_or_Undef - explaining that the undef is only for vectors (and naturally must still contain at least one APInt).

Get that in with a couple of combines updated to use it (with thorough testing), We can then gradually audit the remaining cases.


Repository:
  rL LLVM

https://reviews.llvm.org/D47983





More information about the llvm-commits mailing list