aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorQiu Chaofan <qiucofan@cn.ibm.com>2020-11-01 23:22:47 +0800
committerQiu Chaofan <qiucofan@cn.ibm.com>2020-11-01 23:22:47 +0800
commit1f852ba8534cc773c114165e77acba411ac25a93 (patch)
treea48449538a910f01148f170705fd95659ab12f00 /clang/lib/Frontend/CompilerInvocation.cpp
parentba447f38f6e53e5de68fa264797690b74cb750c0 (diff)
downloadllvm-1f852ba8534cc773c114165e77acba411ac25a93.zip
llvm-1f852ba8534cc773c114165e77acba411ac25a93.tar.gz
llvm-1f852ba8534cc773c114165e77acba411ac25a93.tar.bz2
[PowerPC] Avoid unnecessary fadd for unsigned to ppcf128
Unsigned 32-bit or shorter integer to ppcf128 conversion are currently expanded as signed-to-double with an extra fadd to 'complement'. But on PowerPC we have native instruction to directly convert unsigned to double since ISA v2.06. This patch exploits it. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D89786
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions