This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use ZeroOrNegativeOneBooleanContent for vectors.
Needs ReviewPublic

Authored by craig.topper on Jun 5 2021, 1:12 PM.

Details

Summary

We use i1 vectors for boolean results for V so the difference between
one and negative probably doesn't matter in most cases. Zero or negative
one is consistent with the P extension if we ever need V and P to co-exist.

Diff Detail

Event Timeline

craig.topper created this revision.Jun 5 2021, 1:12 PM
craig.topper requested review of this revision.Jun 5 2021, 1:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 5 2021, 1:12 PM
Herald added a subscriber: MaskRay. · View Herald Transcript

I'm not familiar enough with all the decisions this affects but I agree that it should be the same. Have you seen any changes introduced by this? I'm assuming you may have tried it downstream, for example.