1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes
2 ; RUN: opt -S -passes=openmp-opt < %s | FileCheck %s
4 @alias = internal unnamed_addr alias void (ptr), ptr @callee
6 define internal void @callee(ptr) {
7 ; CHECK-LABEL: define {{[^@]+}}@callee
8 ; CHECK-SAME: (ptr [[TMP0:%.*]]) {
14 define void @caller(ptr %p) {
15 ; CHECK-LABEL: define {{[^@]+}}@caller
16 ; CHECK-SAME: (ptr [[P:%.*]]) {
17 ; CHECK-NEXT: call void @alias(ptr [[P]])
18 ; CHECK-NEXT: ret void
20 call void @alias(ptr %p)
24 !llvm.module.flags = !{!0, !1}
25 !0 = !{i32 7, !"openmp", i32 50}
26 !1 = !{i32 7, !"openmp-device", i32 50}