[all-commits] [llvm/llvm-project] 3ccbd6: [InstCombine] Handle scalable geps in EmitGEPOffse...
David Green via All-commits
all-commits at lists.llvm.org
Wed Nov 8 07:50:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3ccbd68480d0b8f777502300024725b9fc4ed81f
https://github.com/llvm/llvm-project/commit/3ccbd68480d0b8f777502300024725b9fc4ed81f
Author: David Green <david.green at arm.com>
Date: 2023-11-08 (Wed, 08 Nov 2023)
Changed paths:
M llvm/lib/Analysis/Local.cpp
M llvm/test/Transforms/InstCombine/icmp-gep.ll
M llvm/test/Transforms/InstCombine/sub-gep.ll
Log Message:
-----------
[InstCombine] Handle scalable geps in EmitGEPOffset (#71565)
This adds scalable handling for scalable vectors in emitGEPOffset. This
was noticed in some tests that Biplob was creating, so might be unlikely
to come up much in practice. I've attempted to add test coverage for
various places EmitGEPOffset is called. The vscale intrinsics will
currently emit multiple copies, relying on later CSE to combine them.
More information about the All-commits
mailing list