[all-commits] [llvm/llvm-project] 5350a4: [ConstantFold][SVE] Fix constant fold for FoldRein...
huihzhang via All-commits
all-commits at lists.llvm.org
Wed Feb 12 10:25:02 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5350a48931d035900ac90bc56620eaa2baeb5c09
https://github.com/llvm/llvm-project/commit/5350a48931d035900ac90bc56620eaa2baeb5c09
Author: Huihui Zhang <huihuiz at quicinc.com>
Date: 2020-02-12 (Wed, 12 Feb 2020)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Analysis/ConstantFolding/vscale.ll
Log Message:
-----------
[ConstantFold][SVE] Fix constant fold for FoldReinterpretLoadFromConstPtr.
Summary:
Bail out early for scalable vectors. As global variables are not expected
to be scalable.
Use explicit call of getFixedSize() to assert on places where scalable size
doesn't make sense.
Reviewers: sdesmalen, efriedma, apazos, huntergr, willlovett
Reviewed By: sdesmalen
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74424
More information about the All-commits
mailing list