1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib
Alex Richardson 6ae0a3f9c3 [SLC] Simplify strcpy and friends with non-zero address spaces
The current logic in TargetLibraryInfoImpl::getLibFunc() was only treating
strcpy, etc. with i8* arguments in address space zero as a valid library
function. However, in the CHERI and Morello targets we expect all libc
functions to use address space 200 arguments.

This commit updates isValidProtoForLibFunc() to check that the argument
is a pointer type. This also drops the check for i8* since we should not
be checking the pointee type any more.

Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D95142
2021-03-10 11:17:34 +00:00
..
Analysis [SLC] Simplify strcpy and friends with non-zero address spaces 2021-03-10 11:17:34 +00:00
AsmParser [DebugInfo] Add DIArgList MD to store multple values in DbgVariableIntrinsics 2021-03-05 17:02:24 +00:00
BinaryFormat [WebAssembly] Add new relocation for location relative data 2021-03-08 11:34:10 -08:00
Bitcode [DebugInfo] Support DIArgList in DbgVariableIntrinsic 2021-03-08 14:36:13 +00:00
Bitstream
CodeGen [cgp] improve robustness of uadd/usub transforms 2021-03-09 11:52:08 -08:00
DebugInfo Fix a crash in DWARFUnit::getInlinedChainForAddress in case of unexpected DWARF information. 2021-03-09 14:20:27 +04:00
Demangle
DWARFLinker
ExecutionEngine [JITLink] Add a null-terminator to eh-frame sections on ELF/x86-64. 2021-03-09 22:16:11 -08:00
Extensions
FileCheck
Frontend
Fuzzer
FuzzMutate
InterfaceStub
IR [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
IRReader
LineEditor
Linker
LTO
MC [MC][ELF] Fix "enumeral and non-enumeral type in conditional expression" warning (NFC) 2021-03-10 11:27:15 +08:00
MCA
Object [llvm-readelf] Support dumping the BB address map section with --bb-addr-map. 2021-03-08 16:20:11 -08:00
ObjectYAML Read NumBlocks as uint64_t. 2021-03-08 16:46:13 -08:00
Option
Passes [NPM] Add -enable-loopinterchange option to NPM 2021-03-07 02:39:28 +08:00
ProfileData [SampleFDO] Support enabling -funique-internal-linkage-name. 2021-03-09 21:41:40 -08:00
Remarks Add intrinsics_gen as a dependency of libRemarks 2021-03-08 14:17:27 -08:00
Support [M68k](3/8) Skeleton and target description files 2021-03-08 12:30:57 -08:00
TableGen [TableGen] Use range-based for loops (NFC) 2021-03-06 15:52:55 -08:00
Target [PowerPC] Reduce symmetrical swaps for lane-insensitive vector ops 2021-03-10 15:21:32 +08:00
Testing
TextAPI
ToolDrivers
Transforms [DSE] Handle memcpy/memset with equal non-const sizes. 2021-03-10 10:13:58 +00:00
WindowsManifest
XRay
CMakeLists.txt