summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-05-12 19:11:06 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-05-12 19:11:06 +0000
commit7cd5876e6031851ba033059f9ef3a3c238abcc82 (patch)
treea4b1d787cc057360362abd89d9b26ef534615876 /llvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
parenta9231af7dd54378c0ab85c86f751e042e7664d56 (diff)
downloadbcm5719-llvm-7cd5876e6031851ba033059f9ef3a3c238abcc82.tar.gz
bcm5719-llvm-7cd5876e6031851ba033059f9ef3a3c238abcc82.zip
[Sema] Support implicit scalar to vector conversions
This patch teaches clang to perform implicit scalar to vector conversions when one of the operands of a binary vector expression is a scalar which can be converted to the element type of the vector without truncation following GCC's implementation. If the (constant) scalar is can be casted safely, it is implicitly casted to the vector elements type and splatted to produce a vector of the same type. Contributions from: Petar Jovanovic Reviewers: bruno, vkalintiris Differential Revision: https://reviews.llvm.org/D25866 llvm-svn: 302935
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud