[PATCH] D148637: [LangRef] Update shufflevector's semantics to return poison if the mask is undef

Manuel Brito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 15:38:06 PDT 2023


ManuelJBrito added inline comments.


================
Comment at: llvm/docs/LangRef.rst:10097
+LLVM's assembly printer will print ``poison`` if ``undef`` was given to the
+shuffle mask because LLVM does not distinguish between them internally.
 
----------------
aqjune wrote:
> Hi, it seems the LLVM assembly printer hasn't been updated yet: https://godbolt.org/z/ndEdos9Mx
> Should we make this change after the assembly printer is updated in the future?
Yes, I was just finishing updating the tests. Here is the patch  D149210.
Thanks


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148637



More information about the llvm-commits mailing list