]> granicus.if.org Git - clang/commitdiff
[clang-offload-wrapper][NFC] Use captured name of the entry type in LIT test
authorSergey Dmitriev <serguei.n.dmitriev@intel.com>
Thu, 17 Oct 2019 21:55:39 +0000 (21:55 +0000)
committerSergey Dmitriev <serguei.n.dmitriev@intel.com>
Thu, 17 Oct 2019 21:55:39 +0000 (21:55 +0000)
Differential Revision: https://reviews.llvm.org/D69140

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375177 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/clang-offload-wrapper.c

index bd15ae4612ba2e48a75769494a7b6675881c3076..c8c17bd8a514441d0a8ad6fa2cdabfbd188b7551 100644 (file)
@@ -31,7 +31,7 @@
 // CHECK-IR: [[ENTBEGIN:@.+]] = external hidden constant [[ENTTY]]
 // CHECK-IR: [[ENTEND:@.+]] = external hidden constant [[ENTTY]]
 
-// CHECK-IR: [[DUMMY:@.+]] = hidden constant [0 x %__tgt_offload_entry] zeroinitializer, section "omp_offloading_entries"
+// CHECK-IR: [[DUMMY:@.+]] = hidden constant [0 x [[ENTTY]]] zeroinitializer, section "omp_offloading_entries"
 
 // CHECK-IR: [[BIN:@.+]] = internal unnamed_addr constant [[BINTY:\[[0-9]+ x i8\]]] c"Content of device file{{.+}}"