[all-commits] [llvm/llvm-project] 9ce6b1: [RISCV] Remove performANY_EXTENDCombine.

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 10 11:32:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ce6b1ca86cdd1c088d4a5056e173d658126ec72
      https://github.com/llvm/llvm-project/commit/9ce6b1ca86cdd1c088d4a5056e173d658126ec72
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Remove performANY_EXTENDCombine.

This doesn't appear to be needed any more. I did some inspecting
of the gcc torture suite and SPEC2006 with this removed and didn't
find any meaningful changes.

I think we're more aggressive about forming ADDIW now using
sign_extend_inreg during type legalization and hasAllWUsers in isel.
This probably helps catch the cases this helped with before.




More information about the All-commits mailing list