[PATCH] D106053: [CodeGen] Remove pending AssertZext AssertSext in promoting FP_TO_INT
Xiang Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 15 22:49:24 PDT 2021
xiangzhangllvm added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:30758
- Res = DAG.getNode(!IsSigned ? ISD::AssertZext : ISD::AssertSext, dl,
- Res.getValueType(), Res,
- DAG.getValueType(VT.getVectorElementType()));
-
if (PromoteVT == MVT::v2i32)
Res = DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, MVT::v2i32, Res,
----------------
craig.topper wrote:
> Same with this.
Got it, thanks a lot!!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106053/new/
https://reviews.llvm.org/D106053
More information about the llvm-commits
mailing list