-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
hello,when i run ./build-scalehls.sh, This gives me the following error:
[42/42] Linking CXX executable bin/cgeist
[0/1] Running the clang-to-mlir regression tests
FAIL: cgeist :: Verification/clangbuiltin.cpp (89 of 159)
******************** TEST 'cgeist :: Verification/clangbuiltin.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1'; /home/gnhuang/code/scalehls/polygeist/build/bin/cgeist /home/gnhuang/code/scalehls/polygeist/tools/cgeist/Test/Verification/clangbuiltin.cpp --function=* -S | /home/gnhuang/code/scalehls/build/bin/FileCheck /home/gnhuang/code/scalehls/polygeist/tools/cgeist/Test/Verification/clangbuiltin.cpp
--
Exit Code: 1
Command Output (stderr):
--
/home/gnhuang/code/scalehls/polygeist/tools/cgeist/Test/Verification/clangbuiltin.cpp:3:10: fatal error: 'utility' file not found
#include <utility>
^~~~~~~~~
/home/gnhuang/code/scalehls/polygeist/tools/cgeist/Test/Verification/clangbuiltin.cpp:10:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: %[[V0:.+]] = affine.load %[[arg0]][0] : memref<?xf32>
^
<stdin>:2:43: note: scanning from here
func.func @_Z3mooOf(%arg0: memref<?xf32>) -> f32 attributes {llvm.linkage = #llvm.linkage<external>} {
^
<stdin>:2:43: note: with "arg0" equal to "arg0"
func.func @_Z3mooOf(%arg0: memref<?xf32>) -> f32 attributes {llvm.linkage = #llvm.linkage<external>} {
^
<stdin>:3:2: note: possible intended match here
%0 = llvm.mlir.undef : f32
^
Input file: <stdin>
Check file: /home/gnhuang/code/scalehls/polygeist/tools/cgeist/Test/Verification/clangbuiltin.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: module attributes {dlti.dl_spec = #dlti.dl_spec<#dlti.dl_entry<"dlti.endianness", "little">, #dlti.dl_entry<i64, dense<64> : vector<2xi32>>, #dlti.dl_entry<f80, dense<128> : vector<2xi32>>, #dlti.dl_entry<i1, dense<8> : vector<2xi32>>, #dlti.dl_entry<i8, dense<8> : vector<2xi32>>, #dlti.dl_entry<i16, dense<16> : vector<2xi32>>, #dlti.dl_entry<i32, dense<32> : vector<2xi32>>, #dlti.dl_entry<f16, dense<16> : vector<2xi32>>, #dlti.dl_entry<f64, dense<64> : vector<2xi32>>, #dlti.dl_entry<f128, dense<128> : vector<2xi32>>>, llvm.data_layout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", llvm.target_triple = "x86_64-unknown-linux-gnu", "polygeist.target-cpu" = "x86-64", "polygeist.target-features" = "+cx8,+fxsr,+mmx,+sse,+sse2,+x87", "polygeist.tune-cpu" = "generic"} {
2: func.func @_Z3mooOf(%arg0: memref<?xf32>) -> f32 attributes {llvm.linkage = #llvm.linkage<external>} {
next:10'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:10'1 with "arg0" equal to "arg0"
3: %0 = llvm.mlir.undef : f32
next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:10'2 ? possible intended match
4: return %0 : f32
next:10'0 ~~~~~~~~~~~~~~~~~
5: }
next:10'0 ~~~
6: }
next:10'0 ~~
>>>>>>
--
********************
********************
Failed Tests (1):
cgeist :: Verification/clangbuiltin.cpp
Testing Time: 40.09s
Passed : 151
Expectedly Failed: 7
Failed : 1
FAILED: tools/cgeist/Test/CMakeFiles/check-cgeist /home/gnhuang/code/scalehls/polygeist/build/tools/cgeist/Test/CMakeFiles/check-cgeist
cd /home/gnhuang/code/scalehls/polygeist/build/tools/cgeist/Test && /home/gnhuang/code/scalehls/build/./bin/llvm-lit -sv /home/gnhuang/code/scalehls/polygeist/build/tools/cgeist/Test
ninja: build stopped: subcommand failed.
Metadata
Metadata
Assignees
Labels
No labels