diff options
author | Craig Topper <craig.topper@gmail.com> | 2020-03-01 10:41:20 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2020-03-01 10:52:17 -0800 |
commit | 211fb91f1067ecdf7c0b8a019bcf76554d813129 (patch) | |
tree | 99fa0040191c94d0747a4e02bee7658c6de89e36 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 66128c48400f03f2b423561a63b3e78a355fd349 (diff) | |
download | llvm-211fb91f1067ecdf7c0b8a019bcf76554d813129.zip llvm-211fb91f1067ecdf7c0b8a019bcf76554d813129.tar.gz llvm-211fb91f1067ecdf7c0b8a019bcf76554d813129.tar.bz2 |
[DAGCombiner] Don't emit select_cc from visitSINT_TO_FP/visitUINT_TO_FP. Use plain select instead.
Select_cc isn't used by all targets. X86 doesn't have optimizations
for it.
Since we already know the input to the sint_to_fp/uint_to_fp is
a setcc we can just emit a plain select using that setcc as the
condition. Other DAG combines can turn that into a select_cc on
targets that support it.
Differential Revision: https://reviews.llvm.org/D75415
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions