mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-28 20:01:17 +00:00
Fix the issue reported in #1282. When i32/i64 rotate (rotl/rotr) with 0, the LLVM IRs translated are: left<<0 | left>>64 and left >>0 | left<<64 The value of left >> 64 and left <<64 in LLVM are treated as poison, which causes invalid result when executing the aot function. Directly return left when right is 0 to fix the issue. |
||
|---|---|---|
| .. | ||
| app-framework | ||
| app-mgr | ||
| deps | ||
| iwasm | ||
| shared | ||
| config.h | ||