diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-31 07:35:57 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-31 07:35:57 +0000 |
commit | aa93917a5ef20ad35757685c2de2c8b15695cb1d (patch) | |
tree | 49f5275513b092b9610fff76c74b6c8a791333cf /lib/Target/PIC16/PIC16.h | |
parent | b6804e91267381427866dfc1ae3d88abd02ddf14 (diff) | |
download | llvm-aa93917a5ef20ad35757685c2de2c8b15695cb1d.tar.gz llvm-aa93917a5ef20ad35757685c2de2c8b15695cb1d.tar.bz2 llvm-aa93917a5ef20ad35757685c2de2c8b15695cb1d.tar.xz |
define target names for std libcalls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16.h')
-rw-r--r-- | lib/Target/PIC16/PIC16.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/Target/PIC16/PIC16.h b/lib/Target/PIC16/PIC16.h index 09453fb3c6..ec2d1f6be1 100644 --- a/lib/Target/PIC16/PIC16.h +++ b/lib/Target/PIC16/PIC16.h @@ -255,14 +255,9 @@ namespace PIC16CC { 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; } |