Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGenOpenCL / func-call-dbg-loc.cl
blob6b56cbb35f3fd0b90253d8ae304c098ffd612850
1 // RUN: %clang_cc1 -triple amdgcn---amdgizcl -debug-info-kind=limited -gno-column-info -O0 -emit-llvm -o - %s | FileCheck %s
3 typedef struct
5 int a;
6 } Struct;
8 Struct func1(void);
10 void func2(Struct S);
12 void func3(void)
14 // CHECK: call i32 @func1() #{{[0-9]+}}, !dbg ![[LOC:[0-9]+]]
15 // CHECK: call void @func2(i32 %{{[0-9]+}}) #{{[0-9]+}}, !dbg ![[LOC]]
16 func2(func1());