[llvm] [AArch64] Avoid streaming mode hazards from FP constant stores (PR #114207)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 06:34:36 PDT 2024


================
@@ -22514,14 +22514,22 @@ static SDValue performSTNT1Combine(SDNode *N, SelectionDAG &DAG) {
 ///   movi v0.2d, #0
 ///   str q0, [x0]
 ///
-static SDValue replaceZeroVectorStore(SelectionDAG &DAG, StoreSDNode &St) {
+static SDValue replaceZeroVectorStore(SelectionDAG &DAG, StoreSDNode &St,
+                                      AArch64Subtarget const &Subtarget) {
----------------
sdesmalen-arm wrote:

nit: this form is more common in LLVM:
```suggestion
                                      const AArch64Subtarget &Subtarget) {
```

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


More information about the llvm-commits mailing list