[PATCH] D73602: [SVE] Add support for lowering GEPs involving scalable vectors.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 19:43:31 PST 2020


efriedma created this revision.
efriedma added a reviewer: sdesmalen.
Herald added subscribers: psnobl, rkruppe, hiraditya, tschuett.
Herald added a project: LLVM.
efriedma planned changes to this revision.
efriedma added a comment.

Just noticed CodeGen/X86/large-gep-scale.ll is failing; need to tweak the ElementSize handling a bit.


This includes both GEPs where the indexed type is a scalable vector, and GEPs where the result type is a scalable vector.

I had to make a couple related fixes to allow all the testcases to compile.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73602

Files:
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/sve-gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73602.241042.patch
Type: text/x-patch
Size: 11727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200129/be2deb4a/attachment.bin>


More information about the llvm-commits mailing list