[all-commits] [llvm/llvm-project] eb1617: [InstCombineVectorOps] Use poison instead of undef...

Nuno Lopes via All-commits all-commits at lists.llvm.org
Sat Jul 29 07:58:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb1617a5821c35d862ff76e1e0223443c4591ff1
      https://github.com/llvm/llvm-project/commit/eb1617a5821c35d862ff76e1e0223443c4591ff1
  Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
  Date:   2023-07-29 (Sat, 29 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/insert-extract-shuffle.ll
    M llvm/test/Transforms/InstCombine/vscale_extractelement.ll

  Log Message:
  -----------
  [InstCombineVectorOps] Use poison instead of undef as placeholder [NFC]
It's used to create a vector where only 1 element is used
While at it, change OOB extractelement to yield poison per LangRef




More information about the All-commits mailing list