[llvm] 5d6dfd8 - [X86] Tighten up the SDTypeProfile for X86ISD::CVTNE2PS2BF16. NFCI
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 29 13:22:39 PST 2020
Author: Craig Topper
Date: 2020-02-29T13:22:13-08:00
New Revision: 5d6dfd877fa4fab5c318d3d25f55eb39b1158fef
URL: https://github.com/llvm/llvm-project/commit/5d6dfd877fa4fab5c318d3d25f55eb39b1158fef
DIFF: https://github.com/llvm/llvm-project/commit/5d6dfd877fa4fab5c318d3d25f55eb39b1158fef.diff
LOG: [X86] Tighten up the SDTypeProfile for X86ISD::CVTNE2PS2BF16. NFCI
Added:
Modified:
llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td b/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
index 421ee160245b..67092e57929f 100644
--- a/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
+++ b/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
@@ -761,7 +761,9 @@ def X86vfproundRnd: SDNode<"X86ISD::VFPROUND_RND",
// cvt fp to bfloat16
def X86cvtne2ps2bf16 : SDNode<"X86ISD::CVTNE2PS2BF16",
- SDTypeProfile<1, 2, [SDTCisVec<0>, SDTCisVec<1>,
+ SDTypeProfile<1, 2, [SDTCVecEltisVT<0, i16>,
+ SDTCVecEltisVT<1, f32>,
+ SDTCisSameSizeAs<0,1>,
SDTCisSameAs<1,2>]>>;
def X86mcvtneps2bf16 : SDNode<"X86ISD::MCVTNEPS2BF16",
SDTypeProfile<1, 3, [SDTCVecEltisVT<0, i16>,
More information about the llvm-commits
mailing list