aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2021-06-11 05:39:28 -0500
committerStefan Pintilie <stefanp@ca.ibm.com>2021-06-28 11:16:37 -0500
commitc3fe847f9d90de5a6a76fd1d5f5823ab4719accc (patch)
treed9f2c4a6ae1a4673d8b58ef34a3ba70e7f8c8c84 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentcccc7e5aa8088b3b721e1f430c47d199575fae9b (diff)
downloadllvm-c3fe847f9d90de5a6a76fd1d5f5823ab4719accc.zip
llvm-c3fe847f9d90de5a6a76fd1d5f5823ab4719accc.tar.gz
llvm-c3fe847f9d90de5a6a76fd1d5f5823ab4719accc.tar.bz2
[Clang] Add option to handle behaviour of vector bool/vector pixel.
Added the option `-altivec-src-compat=[mixed,gcc,xl]`. The default at this time is `mixed`. The default behavior for clang is for all vector compares to return a scalar unless the vectors being compared are vector bool or vector pixel. In that case the compare returns a vector. With the gcc case all vector compares return vectors and in the xl case all vector compares return scalars. This patch does not change the default behavior of clang. This option will be used in future patches to implement behaviour compatibility for the vector bool/pixel types. Reviewed By: bmahjour Differential Revision: https://reviews.llvm.org/D103615
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions