aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2020-03-20 14:18:04 -0700
committerEli Friedman <efriedma@quicinc.com>2020-03-24 14:34:40 -0700
commit3f1defa6e2dfdea2a5980083de2b04068f640023 (patch)
tree0561d4b2c1551b8d0762b39041c2256608a1900b /clang/lib/Frontend/CompilerInvocation.cpp
parent4f4e68799fd55c7023e685161de6f6bb1ada16d5 (diff)
downloadllvm-3f1defa6e2dfdea2a5980083de2b04068f640023.zip
llvm-3f1defa6e2dfdea2a5980083de2b04068f640023.tar.gz
llvm-3f1defa6e2dfdea2a5980083de2b04068f640023.tar.bz2
[clang codegen] Clean up handling of vectors with trivial-auto-var-init.
The code was pretending to be doing something useful with vectors, but really it was doing nothing: the element type of a vector is always a scalar type, so constWithPadding would always just return the input constant. Split off from D75661 so it can be reviewed separately. While I'm here, also add testcase to show missing vector handling. Differential Revision: https://reviews.llvm.org/D76528
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions