[PATCH] D105417: [RISCV] Teach RISCVMatInt about cases where it can use LUI+SLLI to replace LUI+ADDI+SLLI for large constants.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 17:02:31 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/add-before-shl.ll:6
; RUN: | FileCheck -check-prefixes=RV64I %s
; RUN: llc -mtriple=riscv32 -mattr=+c -verify-machineinstrs --riscv-no-aliases< %s \
; RUN: | FileCheck -check-prefixes=RV32C %s
----------------
I added new RVC RUN lines so we can see that the code with compression enabled isn't affected.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105417/new/
https://reviews.llvm.org/D105417
More information about the llvm-commits
mailing list