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 ptr@memchr(ptr %src, i16 %char, i32 %len)
8 ; Test a simple forwarded call.
9 define ptr@f1(ptr %src, i16 %char, i32 %len) {
12 ; CHECK: brasl %r14, memchr
14 %res = call ptr@memchr(ptr %src, i16 %char, i32 %len) nobuiltin