r242065 - Fixed regex to properly match '64' in the test case.

Artem Belevich tra at google.com
Mon Jul 13 13:49:50 PDT 2015


Author: tra
Date: Mon Jul 13 15:49:50 2015
New Revision: 242065

URL: http://llvm.org/viewvc/llvm-project?rev=242065&view=rev
Log:
Fixed regex to properly match '64' in the test case.

Modified:
    cfe/trunk/test/Driver/cuda-options.cu

Modified: cfe/trunk/test/Driver/cuda-options.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cuda-options.cu?rev=242065&r1=242064&r2=242065&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cuda-options.cu (original)
+++ cfe/trunk/test/Driver/cuda-options.cu Mon Jul 13 15:49:50 2015
@@ -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:[^"]*]]"





More information about the cfe-commits mailing list