[all-commits] [llvm/llvm-project] 6a6c52: [X86][FP16] Combine two steps conversions into dir...
Phoebe Wang via All-commits
all-commits at lists.llvm.org
Mon Feb 13 06:58:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a6c527ee287a4a7787fb5c519014c2e22f718c3
https://github.com/llvm/llvm-project/commit/6a6c527ee287a4a7787fb5c519014c2e22f718c3
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx512fp16-cvt.ll
M llvm/test/CodeGen/X86/vec-strict-inttofp-256-fp16.ll
Log Message:
-----------
[X86][FP16] Combine two steps conversions into direct conversion
When both v8i64 and v4f16 are not legal in a v8i64->v8f16 conversion, legalizer will breaks it into v8i64->v4i64->v4f32->v8f32->v8f16.
Given we support v4i64->v8f16, we can combine them with a shuffle instruction.
Reviewed By: LuoYuanke
Differential Revision: https://reviews.llvm.org/D143872
More information about the All-commits
mailing list