[PATCH] D60318: [ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 23:38:53 PDT 2019


courbet planned changes to this revision.
courbet marked an inline comment as done.
courbet added a comment.

Thanks Eli.



================
Comment at: llvm/test/Other/opt-O2-pipeline.ll:141
+; CHECK-NEXT:         Merge contiguous icmps into a memcmp
+; CHECK-NEXT:         Expand memcmp() to load/stores
+; CHECK-NEXT:         Dominator Tree Construction
----------------
efriedma wrote:
> How hard would it be to preserve the domtree?
I think it should not be too hard because we merely add blocks in a diamond in the middle of the graph, so the change is quite local. I'll have a look at that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60318





More information about the llvm-commits mailing list