[llvm] [LV] Introduce m_One and improve (0|1)-match (NFC) (PR #157419)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 9 01:04:23 PDT 2025


https://github.com/lukel97 commented:

Oh it looks like VPlanPatternMatch's int_pred_ty doesn't allow poison. If we want this to truly mirror LLVM IR's m_One then we should probably add a template argument to int_pred_ty to allow poison

https://github.com/llvm/llvm-project/pull/157419


More information about the llvm-commits mailing list