[PATCH] D92097: [RISCV] Basic jump table lowering

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 04:13:05 PST 2020


lenary added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/jumptable.ll:2-3
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
 ; RUN:   | FileCheck %s -check-prefix=RV32I
 
----------------
I *think* these tests need to be expanded to cover both the low code model (currently covered), and the medium code model (which uses `auipc`). I've added some RUN lines for you, if you take the suggestion, you'll need to re-run update_llc_test_checks.py 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92097/new/

https://reviews.llvm.org/D92097



More information about the llvm-commits mailing list