[MachineCombiner][RISCV] Enable MachineCombiner for RISCV
authorAnton Sidorenko <anton.sidorenko@syntacore.com>
Mon, 17 Oct 2022 09:06:08 +0000 (12:06 +0300)
committerAnton Afanasyev <anton.a.afanasyev@gmail.com>
Tue, 18 Oct 2022 12:31:03 +0000 (15:31 +0300)
commit3112cf3b00fe45a0911ec0c2e6706ef1f8a9b972
tree887919f031df8dd481ccb8281ee69e1c52aedceb
parentb6625765cf0ce4642e2e9fc7e82cd28fbb500033
[MachineCombiner][RISCV] Enable MachineCombiner for RISCV

Initial implementation to match basic FP reassociation patterns.

Differential Revision: https://reviews.llvm.org/D135264
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.h
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/O3-pipeline.ll
llvm/test/CodeGen/RISCV/machine-combiner-mir.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/machine-combiner.ll