From 71985fb8e8bf4c9ee24863101b85a50d985e9d8d Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Wed, 26 Jun 2019 23:08:29 +0000 Subject: [PATCH] Fix Bitcode/invalid.test On the armv8 bot the failure is slightly different in the number it prints. Don't check the numbers. This was caused by r364464. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364488 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Bitcode/invalid.test | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Bitcode/invalid.test b/test/Bitcode/invalid.test index 15e978076d1..b7f976eaec9 100644 --- a/test/Bitcode/invalid.test +++ b/test/Bitcode/invalid.test @@ -31,11 +31,11 @@ RUN: FileCheck --check-prefix=NON-FUNCTION-EXPLICIT-INVOKE %s INVALID-EMPTY: error: file too small to contain bitcode header INVALID-ENCODING: Invalid encoding -BAD-ABBREV: error: can't skip to bit 25870861920 from 96 -UNEXPECTED-EOF: error: can't skip to bit 25870861920 from 96 -BAD-ABBREV-NUMBER: error: can't skip to bit 25870861920 from 96 +BAD-ABBREV: error: can't skip to bit +UNEXPECTED-EOF: error: can't skip to bit +BAD-ABBREV-NUMBER: error: can't skip to bit BAD-TYPE-TABLE-FORWARD-REF: Invalid TYPE table: Only named structs can be forward referenced -BAD-BITWIDTH: error: can't skip to bit 3616 from 96 +BAD-BITWIDTH: error: can't skip to bit BAD-ALIGN: Invalid alignment value MISMATCHED-EXPLICIT-GEP: Explicit gep type does not match pointee type of pointer operand MISMATCHED-EXPLICIT-LOAD: Explicit load/store type does not match pointee type of pointer operand @@ -154,7 +154,7 @@ EXTRACT-0-IDXS: EXTRACTVAL: Invalid instruction with 0 indices RUN: not llvm-dis -disable-output %p/Inputs/invalid-load-ptr-type.bc 2>&1 | \ RUN: FileCheck --check-prefix=BAD-LOAD-PTR-TYPE %s -BAD-LOAD-PTR-TYPE: error: can't skip to bit 3616 from 96 +BAD-LOAD-PTR-TYPE: error: can't skip to bit RUN: not llvm-dis -disable-output %p/Inputs/invalid-inserted-value-type-mismatch.bc 2>&1 | \ RUN: FileCheck --check-prefix=INSERT-TYPE-MISMATCH %s @@ -164,7 +164,7 @@ INSERT-TYPE-MISMATCH: Inserted value type doesn't match aggregate type RUN: not llvm-dis -disable-output %p/Inputs/invalid-code-len-width.bc 2>&1 | \ RUN: FileCheck --check-prefix=INVALID-CODELENWIDTH %s -INVALID-CODELENWIDTH: error: can't skip to bit 3616 from 96 +INVALID-CODELENWIDTH: error: can't skip to bit RUN: not llvm-dis -disable-output %p/Inputs/invalid-function-argument-type.bc 2>&1 | \ RUN: FileCheck --check-prefix=INVALID-ARGUMENT-TYPE %s -- 2.11.0