define target names for std libcalls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77667 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PIC16/PIC16.h b/lib/Target/PIC16/PIC16.h
index 09453fb..ec2d1f6 100644
--- a/lib/Target/PIC16/PIC16.h
+++ b/lib/Target/PIC16/PIC16.h
@@ -255,14 +255,9 @@
return false;
}
- // FIXME: currently we track both @memcpy and memcpy, as
- // the first one is generated by clang, and the second one by codegen
- // while lowering intrinsics. One we fix codegen to use RTLIB, we can
- // have only @memcpy here.
inline static bool isMemIntrinsic (const std::string &Name) {
- if (Name.compare("@memcpy") == 0 || Name.compare("memcpy") == 0 ||
- Name.compare("@memset") == 0 || Name.compare("memset") == 0 ||
- Name.compare("@memmove") == 0 || Name.compare("memmove") == 0) {
+ if (Name.compare("@memcpy") == 0 || Name.compare("@memset") == 0 ||
+ Name.compare("@memmove") == 0) {
return true;
}