[all-commits] [llvm/llvm-project] bceafb: [InstCombine] Don't fold freeze poison when it's u...

ManuelJBrito via All-commits all-commits at lists.llvm.org
Tue Feb 21 14:02:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bceafb7f249cc9286e54664bcfd08307b86c16b9
      https://github.com/llvm/llvm-project/commit/bceafb7f249cc9286e54664bcfd08307b86c16b9
  Author: ManuelJBrito <manuel.brito at tecnico.ulisboa.pt>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/shufflevector_freezepoison.ll

  Log Message:
  -----------
  [InstCombine] Don't fold freeze poison when it's used in shufflevector

With this patch freeze undef/poison will no longer be folded into a constant if it's used as a
vector operand in a shufflevector.

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




More information about the All-commits mailing list