akirilov-arm commented on Issue #2310:
@cfallin A side question - I noticed that
Bconstgenerates 1 for the true value instead of -1 (e.g. 0xFFFFFFFF forbconst.b32 true; same on x86), but then I remembered your changes in #2058. Is this the expected behaviour? And then the other question - what would be the correct value for the vector counterpart? Currently we generate a vector with 1s in every lane.
akirilov-arm commented on Issue #2310:
@cfallin A side note about possible future work - the scalar boolean handling could be improved by using the
CSETM(instead ofCSET) andSBFX/SBFMinstructions.
cfallin commented on Issue #2310:
Perfect, thanks!
Last updated: Dec 06 2025 at 06:05 UTC