[PATCH] D26736: [X86][AVX512] Autoupgrade lossless i32/u32 to f64 conversion intrinsics with generic IR
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 02:09:12 PST 2016
RKSimon created this revision.
RKSimon added reviewers: igorb, delena, craig.topper.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.
Both the (V)CVTDQ2PD (i32 to f64) and (V)CVTUDQ2PD (u32 to f64) conversion instructions are lossless and can be safely represented as generic SINT_TO_FP/UINT_TO_FP calls instead of x86 intrinsics without affecting final codegen.
LLVM counterpart to https://reviews.llvm.org/D26686
Repository:
rL LLVM
https://reviews.llvm.org/D26736
Files:
include/llvm/IR/IntrinsicsX86.td
lib/IR/AutoUpgrade.cpp
lib/Target/X86/X86IntrinsicsInfo.h
test/CodeGen/X86/avx512-intrinsics-upgrade.ll
test/CodeGen/X86/avx512-intrinsics.ll
test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
test/CodeGen/X86/avx512vl-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26736.78153.patch
Type: text/x-patch
Size: 19119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161116/87491944/attachment.bin>
More information about the llvm-commits
mailing list