From 6e01db4631e70458bc452bb8b7c57ff3868b1e54 Mon Sep 17 00:00:00 2001 From: Stephen Neuendorffer Date: Fri, 8 Sep 2023 13:53:50 -0700 Subject: [PATCH] Fix intrinsic wrapper for aie2 acquire/release --- aie_runtime_lib/AIE2/chess_intrinsic_wrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aie_runtime_lib/AIE2/chess_intrinsic_wrapper.cpp b/aie_runtime_lib/AIE2/chess_intrinsic_wrapper.cpp index caad748b38..df952d57ef 100644 --- a/aie_runtime_lib/AIE2/chess_intrinsic_wrapper.cpp +++ b/aie_runtime_lib/AIE2/chess_intrinsic_wrapper.cpp @@ -19,10 +19,10 @@ /// when parsing .ll code containing standard intrinsic names, so these symbols /// are defined that way. -extern "C" void llvm___aie___lock___acquire___reg(unsigned id, unsigned val) { +extern "C" void llvm___aie2___acquire(unsigned id, unsigned val) { acquire_equal(id, val); } -extern "C" void llvm___aie___lock___release___reg(unsigned id, unsigned val) { +extern "C" void llvm___aie2___release(unsigned id, unsigned val) { release(id, val); } extern "C" void llvm___aie___event0() { event0(); }