]> granicus.if.org Git - clang/commitdiff
Fixed regex to properly match '64' in the test case.
authorArtem Belevich <tra@google.com>
Mon, 13 Jul 2015 20:49:50 +0000 (20:49 +0000)
committerArtem Belevich <tra@google.com>
Mon, 13 Jul 2015 20:49:50 +0000 (20:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242065 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cuda-options.cu

index 765ff63f3f22f47d4998c08394fb86b71be5ba29..647b1da769b0b13ff6bb30aa530e8ce87f756cb6 100644 (file)
 // 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:[^"]*]]"