[HIP, test] Fix use of undef FileCheck var
authorThomas Preud'homme <thomasp@graphcore.ai>
Sat, 3 Apr 2021 08:29:38 +0000 (09:29 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Sun, 4 Apr 2021 18:30:49 +0000 (19:30 +0100)
commit292726b6443c7d7be4bb03af40cd3f60188b2ff7
treeeac7fd3eb20ef99b79b1554571f7b0953d01ea6f
parenta41b5100e43810694c09469bc725f560e7ef239f
[HIP, test] Fix use of undef FileCheck var

Clang test CodeGenCUDA/kernel-stub-name.cu uses never defined DKERN
variable in a CHECK-NOT directive. This commit replace the variable by a
regex, thereby avoiding the issue.

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D99832
clang/test/CodeGenCUDA/kernel-stub-name.cu