From: Artem Belevich Date: Mon, 13 Jul 2015 20:49:50 +0000 (+0000) Subject: Fixed regex to properly match '64' in the test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ad5a5061202c22d3e4f44fcf58711915c952af1;p=clang Fixed regex to properly match '64' in the test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242065 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cuda-options.cu b/test/Driver/cuda-options.cu index 765ff63f3f..647b1da769 100644 --- a/test/Driver/cuda-options.cu +++ b/test/Driver/cuda-options.cu @@ -67,14 +67,14 @@ // RUN: -check-prefix CUDA-NL %s // Match device-side compilation -// CUDA-D1: "-cc1" "-triple" "nvptx{{64?}}-nvidia-cuda" +// CUDA-D1: "-cc1" "-triple" "nvptx{{(64)?}}-nvidia-cuda" // CUDA-D1-SAME: "-fcuda-is-device" // CUDA-D1-SM35-SAME: "-target-cpu" "sm_35" // CUDA-D1-SAME: "-o" "[[GPUBINARY1:[^"]*]]" // CUDA-D1-SAME: "-x" "cuda" // Match anothe device-side compilation -// CUDA-D2: "-cc1" "-triple" "nvptx{{64?}}-nvidia-cuda" +// CUDA-D2: "-cc1" "-triple" "nvptx{{(64)?}}-nvidia-cuda" // CUDA-D2-SAME: "-fcuda-is-device" // CUDA-D2-SM30-SAME: "-target-cpu" "sm_30" // CUDA-D2-SAME: "-o" "[[GPUBINARY2:[^"]*]]"