[PATCH] D99853: [InstSimplify] Teach isUndefValue to understand const vector with both undef & poison

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 4 01:56:14 PDT 2021


nikic added a comment.

This problem isn't really limited to this one function in InstSimplify. Might it make sense to adjust UndefValue to actually represent such constants? We'd have to add a bitmask to it that indicates which values are poison.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99853/new/

https://reviews.llvm.org/D99853



More information about the llvm-commits mailing list