[llvm] 8224114 - [CodeView] Match any backend version in the new test

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 11 10:21:15 PST 2022


Author: Reid Kleckner
Date: 2022-02-11T10:20:10-08:00
New Revision: 82241148917b5beac5a6c6f47ab73b77eecc4a54

URL: https://github.com/llvm/llvm-project/commit/82241148917b5beac5a6c6f47ab73b77eecc4a54
DIFF: https://github.com/llvm/llvm-project/commit/82241148917b5beac5a6c6f47ab73b77eecc4a54.diff

LOG: [CodeView] Match any backend version in the new test

This makes the test pass for any LLVM_VERSION_MAJOR/MINOR value. Vendors
override these, and they change every six months.

Added: 
    

Modified: 
    llvm/test/DebugInfo/COFF/compiler-version-overflow.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/COFF/compiler-version-overflow.ll b/llvm/test/DebugInfo/COFF/compiler-version-overflow.ll
index 538ba699ae6f6..3374bf4519ce8 100644
--- a/llvm/test/DebugInfo/COFF/compiler-version-overflow.ll
+++ b/llvm/test/DebugInfo/COFF/compiler-version-overflow.ll
@@ -3,7 +3,7 @@
 
 ; CHECK: {{.*}} | S_COMPILE3 [size = {{.*}}]
 ; CHECK-NEXT: machine = intel pentium 3, Ver = clang version 999999999999.9999999999.9999999.99999999 , language = c++
-; CHECK-NEXT: frontend = 65535.65535.65535.65535, backend = 15000.0.0.0
+; CHECK-NEXT: frontend = 65535.65535.65535.65535, backend = {{[0-9]+}}.0.0.0
 ; CHECK-NEXT: flags = none
 
 


        


More information about the llvm-commits mailing list