blob: 430e0582aedaa4ee1cc0c5af4472f624cf74e12e [file] [log] [blame]
Yaxun Liu7f7f3232017-04-17 20:03:11 +00001// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2// RUN: %clang_cc1 -emit-llvm -o - -triple amdgcn---amdgizcl %s | FileCheck %s -check-prefix=AMDGIZ
3
4void use(char *a);
5
6__attribute__((always_inline)) void helper_no_markers() {
7 char a;
8 use(&a);
9}
10
11void lifetime_test() {
12// CHECK: @llvm.lifetime.start.p0i
13// AMDGIZ: @llvm.lifetime.start.p5i
14 helper_no_markers();
15}