[PATCH] D141348: [X86][CodeGen]Fix extract f16 from big vectors
Wang, Xin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 22:17:07 PST 2023
XinWang10 updated this revision to Diff 487681.
XinWang10 added a comment.
fail to apply
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141348/new/
https://reviews.llvm.org/D141348
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
===================================================================
--- llvm/lib/Target/X86/X86ISelLowering.cpp
+++ llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -34126,7 +34126,7 @@
MVT SplitVT = N->getSimpleValueType(0);
assert(SplitVT == MVT::f16 &&
"Unexpected Value type of EXTRACT_VECTOR_ELT!");
- assert(Subtarget.HasFP16() && "Expected FP16");
+ assert(Subtarget.hasFP16() && "Expected FP16");
SDValue VecOp = N->getOperand(0);
MVT ExtVT =
MVT::getVectorVT(MVT::i16, VecOp.getValueType().getVectorNumElements());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141348.487681.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230110/5af1678b/attachment.bin>
More information about the llvm-commits
mailing list