[llvm] [AArch64] Replace Glue with MVT::i32 when dealing with carries. (PR #150328)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 23 14:56:50 PDT 2025
================
@@ -4177,7 +4177,7 @@ static SDValue valueToCarryFlag(SDValue Value, SelectionDAG &DAG, bool Invert) {
SDValue Op0 = Invert ? DAG.getConstant(0, DL, VT) : Value;
SDValue Op1 = Invert ? Value : DAG.getConstant(1, DL, VT);
SDValue Cmp =
- DAG.getNode(AArch64ISD::SUBS, DL, DAG.getVTList(VT, MVT::Glue), Op0, Op1);
+ DAG.getNode(AArch64ISD::SUBS, DL, DAG.getVTList(VT, MVT::i32), Op0, Op1);
----------------
topperc wrote:
Use `MVT_CC`?
https://github.com/llvm/llvm-project/pull/150328
More information about the llvm-commits
mailing list