aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-01-25 20:55:42 -0600
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-01-25 20:55:56 -0600
commit8018f731f028d99d6698666a218ad6cf8408b0bb (patch)
tree5492e04ab8207b69089a4a0a1a708f46c008bcf8 /clang/lib/Frontend/CompilerInvocation.cpp
parentfafd45c01f3a49a40b09a31e9ea82efc87f3ab35 (diff)
downloadllvm-8018f731f028d99d6698666a218ad6cf8408b0bb.zip
llvm-8018f731f028d99d6698666a218ad6cf8408b0bb.tar.gz
llvm-8018f731f028d99d6698666a218ad6cf8408b0bb.tar.bz2
[PowerPC] Do not emit HW loop with half precision operations
If a loop has any operations on half precision values, there will be calls to library functions on Power8. Even on Power9, there is a small subset of instructions that are actually supported for the type. This patch disables HW loops whenever any operations on the type are found (other than the handfull of supported ones when compiling for Power9). Fixes a few PR's opened by Julia: https://bugs.llvm.org/show_bug.cgi?id=48785 https://bugs.llvm.org/show_bug.cgi?id=48786 https://bugs.llvm.org/show_bug.cgi?id=48519 Differential revision: https://reviews.llvm.org/D94980
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions