[PATCH] D86025: [CodeGen] Respect libfunc availability when lowering intrinsic memcpy
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 15 14:39:56 PDT 2020
mstorsjo added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/intrinsic-memcpy-nobuiltin.ll:10
+; CHECK-LABEL: copy
+; CHECK-NOT: memcpy
+ %0 = getelementptr %struct.s, %struct.s* %dst, i64 0, i32 0, i64 0
----------------
Ideally, I'd have the test also test without the `no-builtins` attribute, to check that the test still does what it's supposed to, i.e. that without the attribute, these still are lowered to an actual memcpy call.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86025/new/
https://reviews.llvm.org/D86025
More information about the llvm-commits
mailing list