[llvm-branch-commits] [llvm] [utils] Add a script to convert llvm-mc tests to --verify (PR #238216)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 2 22:12:41 PST 2026


arichardson wrote:

<!-- nspr:stack -->
#### Stack

- **On `main`:**
  - #227565
  - #236281
  - #227568
  - #236282
  - #236529
- **After [#236281](https://github.com/llvm/llvm-project/pull/236281) + [#227568](https://github.com/llvm/llvm-project/pull/227568):**
  - #227569
- **After [#227569](https://github.com/llvm/llvm-project/pull/227569):**
  - #233308
- **After [#233308](https://github.com/llvm/llvm-project/pull/233308):**
  - #236283
- **After [#236283](https://github.com/llvm/llvm-project/pull/236283):**
  - #233305
- **After [#233305](https://github.com/llvm/llvm-project/pull/233305):**
  - #233309
- **After [#233309](https://github.com/llvm/llvm-project/pull/233309) + [#236282](https://github.com/llvm/llvm-project/pull/236282):**
  - #233306
- **After [#233306](https://github.com/llvm/llvm-project/pull/233306):**
  - #233307
- **After [#233307](https://github.com/llvm/llvm-project/pull/233307):**
  - #227570
- **After [#227570](https://github.com/llvm/llvm-project/pull/227570):**
  - ➡️ **#238216**
- **After [#238216](https://github.com/llvm/llvm-project/pull/238216) + [#236529](https://github.com/llvm/llvm-project/pull/236529):**
  - #227571

<details><summary>Dependency graph</summary>

```mermaid
flowchart BT
  main[("main")]
  PR227565["#227565 [Support] Extract SourceMgrDiagnosticVerifier from MLIR's verifier handler. NFC"] --> main
  PR236281["#236281 [llvm-mc] Report more errors through the SourceMgr"] --> main
  PR227568["#227568 [Support][mlir] Allow custom prefixes in SourceMgrDiagnosticVerifier"] --> main
  PR227569["#227569 [llvm-mc] Add a Clang-style --verify option"] --> PR236281 & PR227568
  PR233308["#233308 [Support][mlir][llvm-mc] Match each verify directive once by default"] --> PR227569
  PR236283["#236283 [Support][llvm-mc] Add baseline tests for SourceMgrDiagnosticVerifier bugs"] --> PR233308
  PR233305["#233305 [Support] Fix parsing of line offsets in verify directives"] --> PR236283
  PR233309["#233309 [Support][mlir] Highlight the whole directive in verifier errors"] --> PR233305
  PR236282["#236282 [Support][mlir] Clean up list of unmatched @unknown directives"] --> main
  PR233306["#233306 [Support] Track verify directives per buffer instead of per file name"] --> PR233309 & PR236282
  PR233307["#233307 [Support][mlir] Check verify directives in buffers without diagnostics"] --> PR233306
  PR227570["#227570 [Support][mlir][llvm-mc] Support column checks in verify directives"] --> PR233307
  PR238216["#238216 [utils] Add a script to convert llvm-mc tests to --verify"] --> PR227570
  PR236529["#236529 [utils] Add a script to convert llvm-mc tests to --verify"] --> main
  PR227571["#227571 [RISC-V][MC] Convert diagnostic tests to llvm-mc --verify"] --> PR238216 & PR236529
  click PR227565 "https://github.com/llvm/llvm-project/pull/227565" "_blank"
  click PR236281 "https://github.com/llvm/llvm-project/pull/236281" "_blank"
  click PR227568 "https://github.com/llvm/llvm-project/pull/227568" "_blank"
  click PR227569 "https://github.com/llvm/llvm-project/pull/227569" "_blank"
  click PR233308 "https://github.com/llvm/llvm-project/pull/233308" "_blank"
  click PR236283 "https://github.com/llvm/llvm-project/pull/236283" "_blank"
  click PR233305 "https://github.com/llvm/llvm-project/pull/233305" "_blank"
  click PR233309 "https://github.com/llvm/llvm-project/pull/233309" "_blank"
  click PR236282 "https://github.com/llvm/llvm-project/pull/236282" "_blank"
  click PR233306 "https://github.com/llvm/llvm-project/pull/233306" "_blank"
  click PR233307 "https://github.com/llvm/llvm-project/pull/233307" "_blank"
  click PR227570 "https://github.com/llvm/llvm-project/pull/227570" "_blank"
  click PR238216 "https://github.com/llvm/llvm-project/pull/238216" "_blank"
  click PR236529 "https://github.com/llvm/llvm-project/pull/236529" "_blank"
  click PR227571 "https://github.com/llvm/llvm-project/pull/227571" "_blank"
  classDef current stroke:#f78166,stroke-width:3px
  class PR238216 current
```
</details>

<sub>Managed by [nspr](https://github.com/arichardson/nspr). Each pull request shows only its own changes.</sub>
<!-- /nspr:stack -->

https://github.com/llvm/llvm-project/pull/238216


More information about the llvm-branch-commits mailing list