[llvm] [instcombine] Scalarize operands of vector geps if possible (PR #145402)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 24 08:24:30 PDT 2025
================
@@ -2983,6 +2983,7 @@ Instruction *InstCombinerImpl::visitGetElementPtrInst(GetElementPtrInst &GEP) {
// For vector geps, use the generic demanded vector support.
// Skip if GEP return type is scalable. The number of elements is unknown at
// compile-time.
+ // TODO: exploit undef elements to decrease demanded bits
----------------
nikic wrote:
I don't understand what you mean by this TODO.
https://github.com/llvm/llvm-project/pull/145402
More information about the llvm-commits
mailing list