You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
16
external/llvm/test/CodeGen/SystemZ/memchr-nobuiltin.ll
vendored
Normal file
16
external/llvm/test/CodeGen/SystemZ/memchr-nobuiltin.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; Test that memchr won't be converted to SRST if calls are
|
||||
; marked with nobuiltin, eg. for sanitizers.
|
||||
;
|
||||
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
|
||||
|
||||
declare i8 *@memchr(i8 *%src, i16 %char, i32 %len)
|
||||
|
||||
; Test a simple forwarded call.
|
||||
define i8 *@f1(i8 *%src, i16 %char, i32 %len) {
|
||||
; CHECK-LABEL: f1:
|
||||
; CHECK-NOT: srst
|
||||
; CHECK: brasl %r14, memchr
|
||||
; CHECK: br %r14
|
||||
%res = call i8 *@memchr(i8 *%src, i16 %char, i32 %len) nobuiltin
|
||||
ret i8 *%res
|
||||
}
|
Reference in New Issue
Block a user