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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
/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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs