[PATCH] D156769: [BPF] Match CHECK w/ LLVM_ENABLE_ASSERTIONS=OFF
Tamir Duberstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 18:35:01 PDT 2023
tamird created this revision.
tamird added a reviewer: chapuni.
Herald added a project: All.
tamird requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Fixes a test failure when built with assertions disabled.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156769
Files:
llvm/test/CodeGen/BPF/many_args1.ll
Index: llvm/test/CodeGen/BPF/many_args1.ll
===================================================================
--- llvm/test/CodeGen/BPF/many_args1.ll
+++ llvm/test/CodeGen/BPF/many_args1.ll
@@ -1,6 +1,6 @@
; RUN: not llc -march=bpf < %s 2> %t1
; RUN: FileCheck %s < %t1
-; CHECK: error: <unknown>:0:0: in function foo i32 (i32, i32, i32): t10: i64 = GlobalAddress<ptr @bar> 0 too many arguments
+; CHECK: error: <unknown>:0:0: in function foo i32 (i32, i32, i32): {{t10|0x[0-f]+}}: i64 = GlobalAddress<ptr @bar> 0 too many arguments
; Function Attrs: nounwind uwtable
define i32 @foo(i32 %a, i32 %b, i32 %c) #0 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156769.545894.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230801/5bf28612/attachment.bin>
More information about the llvm-commits
mailing list