[all-commits] [llvm/llvm-project] 578413: [RISCV] Add a DAG combine to fold (add (xor (setcc...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Apr 28 16:53:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 578413751c0957defd26c9922c3f90c2d47c94ab
      https://github.com/llvm/llvm-project/commit/578413751c0957defd26c9922c3f90c2d47c94ab
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll

  Log Message:
  -----------
  [RISCV] Add a DAG combine to fold (add (xor (setcc X, Y), 1) -1)->(neg (setcc X, Y)).




More information about the All-commits mailing list