[all-commits] [llvm/llvm-project] 182a65: [RISCV] Refactor performCONCAT_VECTORSCombine. NFC...
Luke Lau via All-commits
all-commits at lists.llvm.org
Mon Oct 16 09:56:47 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 182a65adcf8af922246cac80ea6f3fdb159cd89e
https://github.com/llvm/llvm-project/commit/182a65adcf8af922246cac80ea6f3fdb159cd89e
Author: Luke Lau <luke at igalia.com>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Refactor performCONCAT_VECTORSCombine. NFC (#69068)
Instead of doing a forward pass for positive strides and a reverse pass
for
negative strides, we can just do one pass by negating the offset if the
pointers do happen to be in reverse order.
We can extend getPtrDiff later in #68726 to handle more constant offset
sequences.
More information about the All-commits
mailing list