[RISCV] Remove performANY_EXTENDCombine.
authorCraig Topper <craig.topper@sifive.com>
Thu, 10 Mar 2022 19:26:05 +0000 (11:26 -0800)
committerCraig Topper <craig.topper@sifive.com>
Thu, 10 Mar 2022 19:29:31 +0000 (11:29 -0800)
commit9ce6b1ca86cdd1c088d4a5056e173d658126ec72
treec47bc3c8ce901e0ded721f83e612e37172747481
parented1a83befe6569e8bc67846a98dcf3eaa6dd978a
[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.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp