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(); }