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

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 20 01:57:43 PDT 2021


aqjune added inline comments.


================
Comment at: llvm/docs/LangRef.rst:9453
 literals for a vector with a length unknown at compile time.
 
 Example:
----------------
jdoerfert wrote:
> Don't we need  to talk about both poison and undef now? Sufflemask, for example, can still be undef, no?
Combined with D103874, a mask value is constrained to either a constant integer or poison value.
This is to avoid confusion - an undef mask and a poison mask have no difference. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93818



More information about the llvm-commits mailing list