OSDN Git Service

[RISCV] Replace NoX0 SDNodeXForm with a ComplexPattern to do the selection of the...
authorCraig Topper <craig.topper@sifive.com>
Tue, 2 Feb 2021 07:53:54 +0000 (23:53 -0800)
committerTom Stellard <tstellar@redhat.com>
Sat, 13 Feb 2021 00:38:40 +0000 (16:38 -0800)
commit3287b6f9d552f0c542df1c7c0504aad24faf4c53
tree59282146e13442bf8edb881c6f59db2b57fcc79e
parent97dd9224f1033b1d6313ae80047e48ff964ca77d
[RISCV] Replace NoX0 SDNodeXForm with a ComplexPattern to do the selection of the VL operand.

I think this is a more standard way of doing this.

Reviewed By: rogfer01

Differential Revision: https://reviews.llvm.org/D95833

(cherry picked from commit e7f9a834996f40be8dc46a0b059aa850f1f4ef05)
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td