CUDA/HIP: Change device-use-host-var.cu's NOT "external" check to include variable name

Otherwise it is causing one of our build jobs to fail,
it is using "external" as directory, and NOT is
failing because "external" is found in ModuleID.

Differential Revision: https://reviews.llvm.org/D103658
This commit is contained in:
Konstantin Zhuravlyov 2021-06-04 08:55:26 -04:00
parent 507d193ea7
commit 4d9f8527db

View file

@ -65,7 +65,7 @@ const int var_host_only = 7;
// NEG-NOT: @_ZN1BIiE1yE
// NEG-NOT: @_Z1bIdE
// NEG-NOT: @_ZL13var_host_only
// NEG-NOT: external
// NEG-NOT: {{^}}@{{.*}} = external
// CHECK-LABEL: define{{.*}}@_Z7dev_funPiPPKi
// CHECK: store i32 1