[PATCH] D80262: [SVE] Eliminate bad VectorType::getNumElements() calls from ConstantFold

Christopher Tetreault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 17:39:07 PDT 2020


ctetreau created this revision.
Herald added subscribers: llvm-commits, psnobl, rkruppe, hiraditya, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
ctetreau added reviewers: sdesmalen, c-rhodes, majnemer, dblaikie.
ctetreau added a parent revision: D80261: [SVE] Eliminate calls to default-false VectorType::get() from IR.

Assume all usages of this function are explicitly fixed-width operations
and cast to FixedVectorType


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80262

Files:
  llvm/lib/IR/ConstantFold.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80262.265097.patch
Type: text/x-patch
Size: 8261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200520/4fdd6d5c/attachment.bin>


More information about the llvm-commits mailing list