[PATCH] D113105: [InstCombine] Extend stacksave/restore elimination

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 00:56:43 PST 2021


lebedev.ri added a comment.

Looks good.



================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:1813-1814
+        for (++BI; &*BI != II; ++BI) {
+          if (Classify(&*BI) == ClassifyResult::None)
+            continue;
+
----------------
What about stackrestore from the same stacksave?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113105



More information about the llvm-commits mailing list