llvm-project/clang/test/CIR/Tools/warn-default-triple.cir
Morris Hafner 1ae307a709
[CIR] Add cir-translate and cir-lsp-server tools (#131181)
Adds two new clang tools to the tree.

* cir-translate: Translates CIR to LLVM, similar to mlir-translate
* cir-lsp-server: Implementation of the Language Server Protocol for
ClangIR, similar to fir-lsp-server

---------

Co-authored-by: Morris Hafner <mhafner@nvidia.com>
2025-03-18 09:51:13 -07:00

9 lines
200 B
Plaintext

// RUN: cir-translate -verify-diagnostics --cir-to-llvmir --disable-cc-lowering %s
// expected-warning@below {{no target triple provided, assuming}}
module {
cir.func @foo() {
cir.return
}
}