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

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Aug 8 08:44:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4b2c52420011b32a61a9ea0872f233726231bf1
      https://github.com/llvm/llvm-project/commit/e4b2c52420011b32a61a9ea0872f233726231bf1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-08 (Mon, 08 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(sext(x)) -> sext(freeze(x)) and freeze(zext(x)) -> zext(freeze(x)) support

Both are guaranteed not to create undef/poison




More information about the All-commits mailing list