[LLVMbugs] [Bug 23941] New: AVX512: unable to select vcvtps2ph/ph2ps from fpext/fptrunc
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 24 17:20:17 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23941
Bug ID: 23941
Summary: AVX512: unable to select vcvtps2ph/ph2ps from
fpext/fptrunc
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: ahmed.bougacha at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This fails to select the native instructions with +avx512f,-f16c:
define float @test_extend32(half* %addr) {
%val16 = load half, half* %addr
%val32 = fpext half %val16 to float
ret float %val32
}
When users specify -mavx512f without any CPU (so without specifying F16C), this
means we'll get the libcalls instead of the cvt instructions, because of the
hasF16C() checks guarding legality.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150625/2af95575/attachment.html>
More information about the llvm-bugs
mailing list