Unverified Commit 182a65ad authored by Luke Lau's avatar Luke Lau Committed by GitHub
Browse files

[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.
parent 1e8ab993
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment