aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2021-06-29 14:01:48 -0500
committerStefan Pintilie <stefanp@ca.ibm.com>2021-06-29 14:07:12 -0500
commit90dfd059198ed94334f9b1ccfd29b566feb75e8b (patch)
treee29be1ac683b7ed1a5ec53e13ecea5dc2c7a4a90 /llvm/lib/CodeGen/MachineFunction.cpp
parent8e74668e96da5c38c7fabb1881a6510d6a09112d (diff)
downloadllvm-90dfd059198ed94334f9b1ccfd29b566feb75e8b.zip
llvm-90dfd059198ed94334f9b1ccfd29b566feb75e8b.tar.gz
llvm-90dfd059198ed94334f9b1ccfd29b566feb75e8b.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/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions