[PATCH] D116915: [Huawei][AArch64] Add isel support for scalar CSINC

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 10 18:58:22 PST 2022


Allen added a comment.

fix to support the combine of long long type and
failure of Transforms/LoopVectorize/vplan-widen-select-instruction.ll



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:14618
+  AArch64CC::CondCode AArch64CC = changeIntCCToAArch64CC(CC);
+  SDValue CCVal = DAG.getConstant(AArch64CC, DL, VT);
+  SDValue Chain = CSneg.getOperand(3);
----------------
the type for AArch64CC need be MVT::i32


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116915/new/

https://reviews.llvm.org/D116915



More information about the llvm-commits mailing list