[all-commits] [llvm/llvm-project] 05926a: [DAG] getNode() - remove oneuse limit from (zext (...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Sep 21 04:15:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05926a5a557878aa233ac8431b3acddf54422e58
      https://github.com/llvm/llvm-project/commit/05926a5a557878aa233ac8431b3acddf54422e58
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
    M llvm/test/CodeGen/AArch64/setcc_knownbits.ll
    M llvm/test/CodeGen/RISCV/rvv/fold-vp-fadd-and-vp-fmul.ll

  Log Message:
  -----------
  [DAG] getNode() - remove oneuse limit from (zext (trunc (assertzext x))) -> (assertzext x) fold

Noticed on D159533 and I've finally deal with the x86 regressions - MatchingStackOffset wasn't peeking through AssertZext nodes while trying to find CopyFromReg/Load sources, it was only removing them if they were part of a (trunc (assertzext x)) pattern.




More information about the All-commits mailing list