[Mlir-commits] [mlir] [mlir] do not inject malloc/free in to-LLVM translation (PR #73224)
Ivan Butygin
llvmlistbot at llvm.org
Thu Nov 23 05:26:44 PST 2023
Hardcode84 wrote:
There seems to a failure in main now:
```
# .---command stderr------------
# | D:\projs\llvm\llvm-project\mlir\test\CAPI\translation.c:49:12: error: CHECK: expected string not found in input
# | // CHECK: declare ptr @malloc(i64 %{{.*}})
# | ^
# | <stdin>:1:15: note: scanning from here
# | testToLLVMIR()
# | ^
# | <stdin>:7:2: note: possible intended match here
# | ret i64 %3
# | ^
# |
# | Input file: <stdin>
# | Check file: D:\projs\llvm\llvm-project\mlir\test\CAPI\translation.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: testToLLVMIR()
# | check:49'0 X error: no match found
# | 2: ; ModuleID = 'LLVMDialectModule'
# | check:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: source_filename = "LLVMDialectModule"
# | check:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4:
# | check:49'0 ~
# | 5: define i64 @add(i64 %0, i64 %1) {
# | check:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: %3 = add i64 %0, %1
# | check:49'0 ~~~~~~~~~~~~~~~~~~~~~
# | 7: ret i64 %3
# | check:49'0 ~~~~~~~~~~~~
# | check:49'1 ? possible intended match
# | 8: }
# | check:49'0 ~~
# | 9:
# | check:49'0 ~
# | 10: !llvm.module.flags = !{!0}
# | check:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11:
# | check:49'0 ~
# | 12: !0 = !{i32 2, !"Debug Info Version", i32 3}
# | check:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```
```
Failed Tests (1):
MLIR :: CAPI/translation.c
```
https://github.com/llvm/llvm-project/pull/73224
More information about the Mlir-commits
mailing list