[PATCH] D56155: [docs] cttz and ctlz return poison, not undef, when argument is 0

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 30 14:44:25 PST 2018


nikic added a comment.

Based on the current documentation <https://llvm.org/docs/LangRef.html#poison-values> of poison values, `select`ing over poison is still poison by the first rule. I'm assuming that this is an inaccuracy in the documentation and `select`s are treated the same ways as phis? Otherwise the cited clang code would be affected.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D56155





More information about the llvm-commits mailing list