These were in TargetLibraryInfo, but missing from RuntimeLibcalls. This only adds the cases that already have the non-chk variants already. Copies the enabled-by-default logic from TargetLibraryInfo, which is probably overly permissive. Only isPS opts-out.
7 lines
264 B
LLVM
7 lines
264 B
LLVM
; RUN: opt -S -passes=declare-runtime-libcalls -mtriple=x86_64-scei-ps4 < %s | FileCheck %s
|
|
; RUN: opt -S -passes=declare-runtime-libcalls -mtriple=x86_64-scei-ps5 < %s | FileCheck %s
|
|
|
|
; CHECK-NOT: __memcpy_chk
|
|
; CHECK-NOT: __memset_chk
|
|
; CHECK-NOT: __memmove_chk
|