Yaxun Liu f8ad59d99d Clean up AMDGCN tests
Differential Revision: https://reviews.llvm.org/D43340

llvm-svn: 325279
2018-02-15 19:12:41 +00:00

16 lines
364 B
Common Lisp

// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -emit-llvm -o - -triple amdgcn %s | FileCheck %s -check-prefix=AMDGCN
void use(char *a);
__attribute__((always_inline)) void helper_no_markers() {
char a;
use(&a);
}
void lifetime_test() {
// CHECK: @llvm.lifetime.start.p0i
// AMDGCN: @llvm.lifetime.start.p5i
helper_no_markers();
}