[PATCH] D71445: [ConstantFold][SVE] Fix constant folding for scalable vector binary operations.

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 17:00:07 PST 2019


huihuiz created this revision.
huihuiz added reviewers: sdesmalen, huntergr, spatel, lebedev.ri, apazos, efriedma, willlovett.
huihuiz added a project: LLVM.
Herald added subscribers: psnobl, rkruppe, hiraditya, tschuett.

Scalable vector should not be evaluated element by element. Add support to
handle scalable vector UnderValue.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71445

Files:
  llvm/lib/IR/ConstantFold.cpp
  llvm/test/Analysis/ConstantFolding/vscale.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71445.233716.patch
Type: text/x-patch
Size: 5678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191213/50ae35bb/attachment.bin>


More information about the llvm-commits mailing list