[PATCH] D65967: [SeparateConstOffsetFromGEP][PowerPC] Fix: sext(a) + sext(b) -> sext(a + b) matches add and sub instructions with one another

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 13:43:06 PDT 2019


arsenm added inline comments.


================
Comment at: test/Transforms/SeparateConstOffsetFromGEP/PowerPC/test-nomatch-add-and-sub.ll:8
+; case is considerably reduced from the originally generated code.
+
+; Function Attrs: noinline nounwind
----------------
I'm not opposed to including this testcase, but I would like to have a pure IR one that only runs the one pass


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

https://reviews.llvm.org/D65967





More information about the llvm-commits mailing list