[all-commits] [llvm/llvm-project] 548996: [RISCV] Add IsRV32 to the isel pattern for ZIP_RV3...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Feb 18 22:43:47 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5489969550a28a5ef63b6e242469b6eb96b2fbbd
https://github.com/llvm/llvm-project/commit/5489969550a28a5ef63b6e242469b6eb96b2fbbd
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-02-18 (Fri, 18 Feb 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
Log Message:
-----------
[RISCV] Add IsRV32 to the isel pattern for ZIP_RV32/UNZIP_RV32. NFC
I think the i32 in the pattern prevents this from matching on RV64,
but using IsRV32 is safer.
Add tests for RV64 to make sure we don't print zip or unzip
because we incorrectly picked ZIP_RV32/UNZIP_RV32.
More information about the All-commits
mailing list