Closed ltratt closed 3 months ago
By definition (see e.g. Inst::tyidx) an ICmp returns an i1, but the JIT IR parser allowed users to appear to assign an ICmps to any old type. This commit catches such mistakes, including some already existing in the test suite!
Inst::tyidx
ICmp
i1
By definition (see e.g.
Inst::tyidx
) anICmp
returns ani1
, but the JIT IR parser allowed users to appear to assign anICmp
s to any old type. This commit catches such mistakes, including some already existing in the test suite!