[llvm-bugs] [Bug 41532] New: update_test_checks does not actually handle block names
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 18 05:20:31 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41532
Bug ID: 41532
Summary: update_test_checks does not actually handle block
names
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: support scripts
Assignee: unassignedbugs at nondot.org
Reporter: lebedev.ri at gmail.com
CC: greg.bedwell at sony.com, i at maskray.me,
llvm-bugs at lists.llvm.org
/build/llvm/utils/update_test_checks.py --opt-binary ./bin/opt /tmp/test-cfg.ll
produces:
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -S | FileCheck %s
define i1 @test(i1 %arg) {
; CHECK-LABEL: @test(
; CHECK-NEXT: entry:
; CHECK-NEXT: br i1 [[ARG:%.*]], label [[TRUEBB:%.*]], label [[FALSEBB:%.*]]
; CHECK: truebb:
; CHECK-NEXT: br label [[END:%.*]]
; CHECK: falsebb:
; CHECK-NEXT: br label [[END]]
; CHECK: end:
; CHECK-NEXT: [[RES:%.*]] = phi i1 [ true, [[TRUEBB]] ], [ false,
[[FALSEBB]] ]
; CHECK-NEXT: ret i1 [[RES]]
;
entry:
br i1 %arg, label %truebb, label %falsebb
truebb:
br label %end
falsebb:
br label %end
end:
%res = phi i1 [ true, %truebb ], [ false, %falsebb ]
ret i1 %res
}
But it didn't change "truebb:" into "[[TRUEBB]]" and so on.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190418/8e69dbc7/attachment.html>
More information about the llvm-bugs
mailing list