aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2017-03-31 06:29:49 +0000
committerMikael Holmen <mikael.holmen@ericsson.com>2017-03-31 06:29:49 +0000
commit79235bd4d8c9745b823e8ab4383acc5b81d230bf (patch)
treea13e25b3ea870db3199ec7665e85ac6cd1f282be /clang/lib/CodeGen/CodeGenFunction.cpp
parentdc0fe7abfc53a2fc77569b99888b7fd4b23e8e96 (diff)
downloadllvm-79235bd4d8c9745b823e8ab4383acc5b81d230bf.zip
llvm-79235bd4d8c9745b823e8ab4383acc5b81d230bf.tar.gz
llvm-79235bd4d8c9745b823e8ab4383acc5b81d230bf.tar.bz2
[Scalarizer] Handle scalar arguments in vector GEP
Summary: Triggered by commit r298620: "[LV] Vectorize GEPs". If we encounter a vector GEP with scalar arguments, we splat the scalar into a vector of appropriate size before we scatter the argument. Reviewers: arsenm, mehdi_amini, bkramer Reviewed By: arsenm Subscribers: bjope, mssimpso, wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D31416 llvm-svn: 299186
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions