[clang] [llvm] [RISCV] Added the MIPS prefetch extensions for MIPS RV64 P8700. (PR #145647)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 20:58:18 PDT 2025
================
@@ -0,0 +1,40 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=riscv32 -mattr=+xmipscbop -mattr=+m -verify-machineinstrs < %s \
+; RUN: | FileCheck %s -check-prefix=RV32XMIPSPREFETCH
+; RUN: llc -mtriple=riscv64 -mattr=+xmipscbop -mattr=+m -verify-machineinstrs < %s \
+; RUN: | FileCheck %s -check-prefix=RV64XMIPSPREFETCH
+
+define dso_local void @prefetch_read(ptr noundef %a) {
----------------
ukalappa-mips wrote:
> I don't think dso_local is needed
Thank you @mshockwave and @lenary ...taken care
https://github.com/llvm/llvm-project/pull/145647
More information about the cfe-commits
mailing list