[all-commits] [llvm/llvm-project] 891117: [DAG] canCreateUndefOrPoison - add freeze(rot(x, y)...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Oct 22 09:25:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89111707ec3abbd50197076c13b15b176656138a
      https://github.com/llvm/llvm-project/commit/89111707ec3abbd50197076c13b15b176656138a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

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

  Log Message:
  -----------
  [DAG] canCreateUndefOrPoison - add freeze(rot(x,y)) -> rot(freeze(x),freeze(y)) support

The rotation amount is always modulo, so won't introduce poison/undef




More information about the All-commits mailing list