Files
wasmtime/cranelift/codegen
Chris Fallin 1aaea279e5 egraph opts: fix uextend-of-i32. (#5061)
This is a simple error in the const-prop rules: uextend was not
masking iconst's u64 immediate when extending from i32 to
i64. Arguably an iconst.i32 should not have nonzero bits in the upper
32 of its immediate, but that's a separate design question. For now,
if our invariant is that the upper bits are ignored, then it is
required to mask the bits when const-evaling a `uextend`.

Fixes #5047.
2022-10-17 12:45:49 -07:00
..
2021-10-10 14:19:08 +02:00
2022-10-05 09:30:55 -05:00

This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.