Closed
Description
Subject of the issue
During regression testing, I found that the current version of wamrc
fails to compile the wasm file introduced in #2833 into an AOT file.
Test case
You can reproduce the issue using the wasm file from #2833, or with the following minimal test case test.wat
:
(module
(type (;0;) (func (result v128 v128 v128 v128)))
(func (;0;) (type 0) (result v128 v128 v128 v128)
(local v128)
v128.const i32x4 0xbfe4b646 0xee2ae7a5 0x49ff9c4c 0x10fd4f0b
local.set 0
nop
block ;; label = @1
v128.const i32x4 0x9a0abccb 0x3fb3e0ea 0xb4903313 0xef0b2868
local.get 0
i32.const 0
select
local.tee 0
local.set 0
end
local.get 0
local.get 0
local.get 0
local.get 0
return)
(memory (;0;) 65536 65536)
(export "test" (func 0))
(data (;0;) (i32.const -11152137) "test"))
Your environment
- Ubuntu 22.04
- wamrc 2.3.1
Steps to reproduce
cd /path/to/wasm-micro-runtime/wamr-compiler
mkdir build && cd build
cmake .. && make
./wamrc -o test.aot test.wasm
Expected behavior
Create AoT compiler with:
target: x86_64
target cpu: rocketlake
target triple: x86_64-unknown-linux-gnu
cpu features:
opt level: 3
size level: 3
output format: AoT file
Compile success, file test.aot was generated.
Actual behavior
Create AoT compiler with:
target: x86_64
target cpu: rocketlake
target triple: x86_64-unknown-linux-gnu
cpu features:
opt level: 3
size level: 3
output format: AoT file
Error: find block end addr failed.
Metadata
Metadata
Assignees
Labels
No labels