[all-commits] [llvm/llvm-project] 272414: [DAG] canCreateUndefOrPoison - add freeze(ctpop(x)...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Aug 9 02:11:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27241435515554bc21105713c9d34cf886c5bced
      https://github.com/llvm/llvm-project/commit/27241435515554bc21105713c9d34cf886c5bced
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/X86/freeze-unary.ll

  Log Message:
  -----------
  [DAG] canCreateUndefOrPoison - add freeze(ctpop(x)) -> ctpop(freeze(x)) and freeze(parity(x)) -> parity(freeze(x)) support

Both are guaranteed not to create undef/poison




More information about the All-commits mailing list