aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorYeting Kuo <yeting.kuo@sifive.com>2023-01-17 13:30:24 +0800
committerYeting Kuo <yeting.kuo@sifive.com>2023-02-08 13:45:35 +0800
commit7bc2cd614ec479d5ffacba6e80ce849cd922ffdf (patch)
tree60df4df91931bd910c3acff146b83244182df30d /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parentd768b97424f9e1a0aae45440a18b99f21c4027ce (diff)
downloadllvm-7bc2cd614ec479d5ffacba6e80ce849cd922ffdf.zip
llvm-7bc2cd614ec479d5ffacba6e80ce849cd922ffdf.tar.gz
llvm-7bc2cd614ec479d5ffacba6e80ce849cd922ffdf.tar.bz2
[VP][DAGCombiner] Introduce generalized pattern match for vp sdnodes.
The patch tries to solve duplicated combine work for vp sdnodes. The idea is to introduce MatchConext that verifies specific patterns and generate specific node infromation. There is two MatchConext in DAGCombiner. EmptyMatcher is for normal nodes and VPMatcher is for vp nodes. The idea of this patch is come form Simon Moll's proposal [0]. I only fixed some minor issues and added few new features in this patch. [0]: https://github.com/sx-aurora-dev/llvm-project/commit/c38a14484aa2945f3b05369560b65916dd832f76 Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D141891
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions