[all-commits] [llvm/llvm-project] 575fde: [LangRef] Update shufflevector's semantics to retu...

ManuelJBrito via All-commits all-commits at lists.llvm.org
Fri Apr 28 02:52:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 575fdea70a86f68b0d303a9a3273fc47f810628a
      https://github.com/llvm/llvm-project/commit/575fdea70a86f68b0d303a9a3273fc47f810628a
  Author: ManuelJBrito <manuel.brito at tecnico.ulisboa.pt>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Update shufflevector's semantics to return poison if the mask is undef

This patch changes the shufflevector's semantics to yield poison if the mask is undefined.
This allows the extraction of shufflevectors while also opening the door for more
optimization opportunities due to the fact that poison is more undefined than undef.

Differential Revision: https://reviews.llvm.org/D148637




More information about the All-commits mailing list