aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-10-16 12:56:32 -0400
committerGitHub <noreply@github.com>2023-10-16 12:56:32 -0400
commit182a65adcf8af922246cac80ea6f3fdb159cd89e (patch)
treeb5e03b2345289fcd8d4031c93b7963c45020d75e /llvm/lib/CodeGen/MachineOperand.cpp
parent1e8ab993baf4e28590bdac71130f48ebd5f57675 (diff)
downloadllvm-182a65adcf8af922246cac80ea6f3fdb159cd89e.zip
llvm-182a65adcf8af922246cac80ea6f3fdb159cd89e.tar.gz
llvm-182a65adcf8af922246cac80ea6f3fdb159cd89e.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions