This takes an IntCC for the comparison to do, though panics for Signed* since memcmp is an unsigned comparison. Currently it's most useful for (Not)Equal, but once big-endian loads are implemented it'll be able to support the other Unsigned* comparisons nicely on more than just bytes.
This crate provides a straightforward way to create a
Cranelift IR function and fill it with
instructions translated from another language. It contains an SSA construction
module that provides convenient methods for translating non-SSA variables into
SSA Cranelift IR values via use_var and def_var calls.