Use the bit size of the operand instead of the hard-coded 32 to generate the
[oota-llvm.git] / test / lib / llvm.exp
index 78e3e836840fc12b3c3dcfba89fbfe907b2617a3..b59f341d72b1f0e3fe41018fdbe8cdb22aa4ccdf 100644 (file)
@@ -119,7 +119,7 @@ proc RunLLVMTests { test_source_files } {
     foreach line [split [read $testFileId] \n] {
 
       # if its the END. line then stop parsing (optimization for big files)
-      if {[regexp {END.[ *]$} $line match endofscript]} {
+      if {[regexp {END.[[:space:]]*$} $line match endofscript]} {        
         break
 
       # if the line is continued, concatenate and continue the loop