<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - update_test_checks does not actually handle block names"
   href="https://bugs.llvm.org/show_bug.cgi?id=41532">41532</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>update_test_checks does not actually handle block names
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>support scripts
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lebedev.ri@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>greg.bedwell@sony.com, i@maskray.me, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>/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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>