[PATCH] D118655: [GlobalISel] Combine (G_*ADDO x, 0) -> x + no carry out

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 16:24:46 PST 2022


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:134
 
+bool CombinerHelper::isPreLegalize() const { return !LI; }
+
----------------
I think there's use in distinguishing no-LegalizeInfo and being pre-legalize but I guess that's a different problem


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

https://reviews.llvm.org/D118655



More information about the llvm-commits mailing list