[Mlir-commits] [mlir] [mlir] Add mlirTranslateModuleToLLVMIR to MLIR-C (PR #73117)
Mehdi Amini
llvmlistbot at llvm.org
Mon Nov 27 23:33:34 PST 2023
joker-eph wrote:
@edg-l : have you checked the link above? https://lab.llvm.org/buildbot/#/builders/5/builds/38560
```
******************** TEST 'MLIR :: CAPI/translation.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 10
/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-capi-translation-test 2>&1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/test/CAPI/translation.c
# executed command: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-capi-translation-test
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/test/CAPI/translation.c
```
It's a bit sad that the sanitizer don't provide any output here... :(
I also don't quite understand why there is a build failure but we still ran the tests?
```
/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/ArmSMEStubs.cpp:36:6: error: expected ')'
36 | bool MLIR_ARMSMEABISTUBS_EXPORTED __aarch64_sme_accessible() {
| ^
/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/ArmSMEStubs.cpp:24:76: note: expanded from macro 'MLIR_ARMSMEABISTUBS_EXPORTED'
24 | #define MLIR_ARMSMEABISTUBS_EXPORTED __attribute__((visibility("default")) LLVM_ATTRIBUTE_WEAK
| ^
/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/Support/Compiler.h:190:29: note: expanded from macro 'LLVM_ATTRIBUTE_WEAK'
190 | #define LLVM_ATTRIBUTE_WEAK __attribute__((__weak__))
| ^
/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/ArmSMEStubs.cpp:46:1: error: unknown type name 'sme_state'
46 | sme_state MLIR_ARMSMEABISTUBS_EXPORTED __arm_sme_state() {
| ^
/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/ArmSMEStubs.cpp:46:11: error: expected ')'
46 | sme_state MLIR_ARMSMEABISTUBS_EXPORTED __arm_sme_state() {
| ^
/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/ArmSMEStubs.cpp:24:76: note: expanded from macro 'MLIR_ARMSMEABISTUBS_EXPORTED'
24 | #define MLIR_ARMSMEABISTUBS_EXPORTED __attribute__((visibility("default")) LLVM_ATTRIBUTE_WEAK
| ^
/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/Support/Compiler.h:190:29: note: expanded from macro 'LLVM_ATTRIBUTE_WEAK'
190 | #define LLVM_ATTRIBUTE_WEAK __attribute__((__weak__))
| ^
/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/ArmSMEStubs.cpp:62:1: error: expected unqualified-id
62 | }
```
https://github.com/llvm/llvm-project/pull/73117
More information about the Mlir-commits
mailing list