aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2020-06-19 14:33:20 +0100
committerDavid Sherwood <david.sherwood@arm.com>2020-06-25 07:28:19 +0100
commitee26a31e7b02e124d71091d47f2ae624774e5e0a (patch)
treed8c42fb90da49471cf2328406fb10be74301a71a /clang/lib/Frontend/CompilerInvocation.cpp
parent4c6548222b3c41d024581d28f42b3f02510bcfe3 (diff)
downloadllvm-ee26a31e7b02e124d71091d47f2ae624774e5e0a.zip
llvm-ee26a31e7b02e124d71091d47f2ae624774e5e0a.tar.gz
llvm-ee26a31e7b02e124d71091d47f2ae624774e5e0a.tar.bz2
[SVE] Make ConstantFoldGetElementPtr work for scalable vectors of indices
This patch fixes a compiler crash that was hit when trying to simplify the following code: getelementptr [2 x i64], [2 x i64]* null, i64 0, <vscale x 2 x i64> zeroinitializer For the case where we have a null pointer value like above, we just need to ensure we don't assume the indices are always fixed width. Differential Revision: https://reviews.llvm.org/D82183
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions