aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-03-01 19:23:26 -0600
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-03-01 19:49:26 -0600
commit38a34e207f30747a4b0288d97ce67e422bf5f363 (patch)
treedc7d93c5719d6ea221cbd7ce376801e11efec273 /clang/lib/Frontend/CompilerInvocation.cpp
parentc35105055ee4565ee6726d5b155538dd5c0307d3 (diff)
downloadllvm-38a34e207f30747a4b0288d97ce67e422bf5f363.zip
llvm-38a34e207f30747a4b0288d97ce67e422bf5f363.tar.gz
llvm-38a34e207f30747a4b0288d97ce67e422bf5f363.tar.bz2
[PowerPC] Use modulo arithmetic for vec_extract in altivec.h
These interfaces are not covered in the ELFv2 ABI but are rather implemented to emulate those available in GCC/XLC. However, the ones in the other compilers are documented to perform modulo arithmetic on the element number. This patch just brings clang inline with the other compilers at -O0 (with optimization, clang already does the right thing).
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions