[PATCH] D79814: [SelectionDAG] Require constant index for INSERT/EXTRACT_SUBVECTOR.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 15:37:41 PDT 2020


efriedma created this revision.
efriedma added reviewers: sdesmalen, craig.topper, RKSimon.
Herald added subscribers: arphaman, hiraditya.
Herald added a project: LLVM.

A variable index sounds like an interesting idea in theory, but nothing is actually taking advantage of it, and specifying/implementing the edge cases is painful. So just forbid it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79814

Files:
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79814.263531.patch
Type: text/x-patch
Size: 7423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200512/6700caa5/attachment-0001.bin>


More information about the llvm-commits mailing list