[all-commits] [llvm/llvm-project] 3f0df4: [RISCV] Expand scalable-vector truncstores and ext...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Apr 5 09:10:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f0df4d7b0269623cfcd0ef6272e6a3a2ad9066d
      https://github.com/llvm/llvm-project/commit/3f0df4d7b0269623cfcd0ef6272e6a3a2ad9066d
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/extload-truncstore.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll

  Log Message:
  -----------
  [RISCV] Expand scalable-vector truncstores and extloads

Caught in internal testing, these operations are assumed legal by
default, even for scalable vector types. Expand them back into separate
truncations and stores, or loads and extensions.

Also add explicit fixed-length vector tests for these operations, even
though they should have been correct already.

Reviewed By: craig.topper

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




More information about the All-commits mailing list