[PATCH] D135010: [GlobalISel] Combine `(x + y) - y -> x` and friends

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 1 12:52:00 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/combine-add-of-sub.mir:274
+    $w0 = COPY %sub(s32)
+    RET_ReallyLR implicit $w0
----------------
Should also add vector cases 


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

https://reviews.llvm.org/D135010



More information about the llvm-commits mailing list