[RISCV][test] Add tests for optimization with SH*ADD in the zba extension
authorBen Shi <powerman1st@163.com>
Mon, 30 Aug 2021 03:47:22 +0000 (11:47 +0800)
committerBen Shi <powerman1st@163.com>
Thu, 2 Sep 2021 09:30:03 +0000 (17:30 +0800)
commite47ab56398c3ad45836c2a1cb75482698790c771
tree546cd053889463c7e04386b60f89f09f5e234b01
parentef78f2106cd7d5bf9afeaaf030dc4e0d241f7ea3
[RISCV][test] Add tests for optimization with SH*ADD in the zba extension

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D108915
llvm/test/CodeGen/RISCV/rv32zba.ll
llvm/test/CodeGen/RISCV/rv64zba.ll