[llvm] [AArch64] NFCI: Simplify LowerVectorFP_TO_INT_SAT (part 1) (PR #207198)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 04:09:44 PDT 2026


================
@@ -5217,8 +5216,17 @@ AArch64TargetLowering::LowerVectorFP_TO_INT_SAT(SDValue Op,
     // If we are extending to a v8f32, split into two v4f32 to produce legal
     // types.
     if (F32VT.getSizeInBits() > 128) {
+      SDValue SrcVal2;
       std::tie(SrcVal, SrcVal2) = DAG.SplitVector(SrcVal, DL);
----------------
MacDue wrote:

nit: Create new values and Lo/Hi is more typical naming than a 2 suffix. 
```suggestion
      auto [SrcValLo, SrcValHi] = DAG.SplitVector(SrcVal, DL);
```

https://github.com/llvm/llvm-project/pull/207198


More information about the llvm-commits mailing list