This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add tests showing incorrect BUILD_VECTOR lowering
ClosedPublic

Authored by frasercrmck on Apr 14 2022, 5:30 AM.

Details

Summary

These tests both use vector constants misidentified as VID sequences.
Because the initial run of elements has a zero step, the elements are
skipped until such a step can be identified. The bug is that the skipped
elements are never validated, even though the computed step is
incompatible across the entire sequence.

A fix will follow in a subseqeuent patch.

Diff Detail