aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-08-15 17:27:14 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-08-16 14:38:31 -0500
commit95a25e4c3203f35e9f57f9fac620b4a21bffd6e1 (patch)
treee75f58ebe330fbbcbf0ba05e53dc352ddc16d9f9 /clang/lib/Frontend/CompilerInvocation.cpp
parent5f45f91de41949fbc0124b5615c0c3ec45a3b243 (diff)
downloadllvm-95a25e4c3203f35e9f57f9fac620b4a21bffd6e1.zip
llvm-95a25e4c3203f35e9f57f9fac620b4a21bffd6e1.tar.gz
llvm-95a25e4c3203f35e9f57f9fac620b4a21bffd6e1.tar.bz2
[OpenMP][FIX] Do not use TBAA in type punning reduction GPU code PR46156
When we implement OpenMP GPU reductions we use type punning a lot during the shuffle and reduce operations. This is not always compatible with language rules on aliasing. So far we generated TBAA which later allowed to remove some of the reduce code as accesses and initialization were "known to not alias". With this patch we avoid TBAA in this step, hopefully for all accesses that we need to. Verified on the reproducer of PR46156 and QMCPack. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D86037
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions