[all-commits] [llvm/llvm-project] 005379: [RISCV] Add tests showing incorrect BUILD_VECTOR l...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Apr 18 23:13:29 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00537946aa29928894ba140687de1b6f9494e44d
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll

  Log Message:
  [RISCV] Add tests showing incorrect BUILD_VECTOR lowering

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.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D123785

More information about the All-commits mailing list