// RUN: cir-opt %s -cir-to-llvm -o %t.mlir // RUN: FileCheck --input-file=%t.mlir %s !void = !cir.void !u64i = !cir.int module { cir.func @shouldLowerLibcMemcpyBuiltin(%arg0: !cir.ptr, %arg1: !cir.ptr, %arg2: !u64i) { cir.libc.memcpy %arg2 bytes from %arg0 to %arg1 : !u64i, !cir.ptr -> !cir.ptr // CHECK: "llvm.intr.memcpy"(%{{.+}}, %{{.+}}, %{{.+}}) <{isVolatile = false}> : (!llvm.ptr, !llvm.ptr, i64) -> () cir.return } }