1 ; Test that memchr won't be converted to SRST if calls are
2 ; marked with nobuiltin, eg. for sanitizers.
4 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
6 declare i8 *@memchr(i8 *%src, i16 %char, i32 %len)
8 ; Test a simple forwarded call.
9 define i8 *@f1(i8 *%src, i16 %char, i32 %len) {
12 ; CHECK: brasl %r14, memchr
14 %res = call i8 *@memchr(i8 *%src, i16 %char, i32 %len) nobuiltin