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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs