[PATCH] D148385: [RISCV] Implement KCFI operand bundle lowering for RV64

Jessica Clarke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 17 14:18:18 PDT 2023


jrtc27 added a comment.

I can't help but feel the core of this should be target-independent, with TLI or similar hooks to actually do the target-specific bits?



================
Comment at: llvm/test/CodeGen/RISCV/kcfi.ll:1
+; RUN: llc -mtriple=riscv64 -verify-machineinstrs -riscv-no-aliases < %s | FileCheck %s --check-prefix=ASM
+; RUN: llc -mtriple=riscv64 -verify-machineinstrs -stop-after=finalize-isel < %s | FileCheck %s --check-prefixes=MIR,ISEL
----------------
Please try not to introduce tests with hand-written CHECK lines, but if you have to, try and make them look similar in style to the auto-generated lines.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148385



More information about the cfe-commits mailing list