[all-commits] [llvm/llvm-project] 998853: [X86] Add test coverage for add/sub/mul with freeze

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Aug 13 12:58:25 PDT 2022


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

  Changed paths:
    A llvm/test/CodeGen/X86/freeze-binary.ll

  Log Message:
  -----------
  [X86] Add test coverage for add/sub/mul with freeze


  Commit: 60534b8879b17dc6925aba9ae3d138db0c8c2655
      https://github.com/llvm/llvm-project/commit/60534b8879b17dc6925aba9ae3d138db0c8c2655
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-13 (Sat, 13 Aug 2022)

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

  Log Message:
  -----------
  [DAG] canCreateUndefOrPoison - add freeze(add/sub/mul(x,y)) -> add/sub/mul(freeze(x),y,z) support

These are guaranteed not to create undef/poison as long as there are no poison generating flags


Compare: https://github.com/llvm/llvm-project/compare/448c466636ca...60534b8879b1


More information about the All-commits mailing list