[all-commits] [llvm/llvm-project] 73af45: [InstCombine] Handle more scalable geps in EmitGEP...

David Green via All-commits all-commits at lists.llvm.org
Sat Nov 11 10:21:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73af455f57dad2ae69c73ca27435be83ddedc6f3
      https://github.com/llvm/llvm-project/commit/73af455f57dad2ae69c73ca27435be83ddedc6f3
  Author: David Green <david.green at arm.com>
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
    M llvm/lib/Analysis/Local.cpp
    M llvm/test/Transforms/InstCombine/getelementptr.ll

  Log Message:
  -----------
  [InstCombine] Handle more scalable geps in EmitGEPOffset (#71699)

Following up on #71565, this makes scalable splats in EmitGEPOffset use
the ElementCount as opposed to assuming it is fixed width, and attempts
to handle scalable offsets with vector geps by splatting the vscale to
each vector lane.




More information about the All-commits mailing list