[all-commits] [llvm/llvm-project] b46d70: [RISCV] Refactor extract_subvector lowering slight...

Luke Lau via All-commits all-commits at lists.llvm.org
Mon Sep 11 08:48:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b46d7011f211d02fc4ea6261e6e0c3ef9cc144b2
      https://github.com/llvm/llvm-project/commit/b46d7011f211d02fc4ea6261e6e0c3ef9cc144b2
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Refactor extract_subvector lowering slightly. NFC  (#65391)

This patch refactors extract_subvector lowering to lower to
extract_subreg directly, and to shortcut whenever the index is 0 when
extracting a scalable vector. This doesn't change any of the existing
behaviour, but makes an upcoming patch that extends the scalable path
slightly easier to read.




More information about the All-commits mailing list