Author: Konstantin Zhuravlyov Date: 2021-06-04T13:10:00-04:00 New Revision: 4d9f8527dbfbc998baf35eec868c9dec1f8d1224
URL: https://github.com/llvm/llvm-project/commit/4d9f8527dbfbc998baf35eec868c9dec1f8d1224 DIFF: https://github.com/llvm/llvm-project/commit/4d9f8527dbfbc998baf35eec868c9dec1f8d1224.diff LOG: 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 Added: Modified: clang/test/CodeGenCUDA/device-use-host-var.cu Removed: ################################################################################ diff --git a/clang/test/CodeGenCUDA/device-use-host-var.cu b/clang/test/CodeGenCUDA/device-use-host-var.cu index 1a504280e8488..4d3f60c2e83c7 100644 --- a/clang/test/CodeGenCUDA/device-use-host-var.cu +++ b/clang/test/CodeGenCUDA/device-use-host-var.cu @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits