[PATCH] D82566: [CodeMoverUtils] Make specific analysis dependent checks optional

rithik sharma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 09:07:40 PDT 2020


RithikSharma created this revision.
RithikSharma added reviewers: Whitney, bmahjour, etiotto.
RithikSharma added a project: LLVM.
Herald added subscribers: llvm-commits, asbirlea, george.burgess.iv, hiraditya, Prazek.
RithikSharma updated this revision to Diff 273396.

This patch makes code motion checks optional which are dependent on specific analysis example, dominator tree, post dominator tree and dependence info. The aim is to make the adoption of CodeMoverUtils easier for clients that don't use analysis which were strictly required by CodeMoverUtils. This will also help in diversifying code motion checks using other analysis example MSSA.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82566

Files:
  llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h
  llvm/lib/Transforms/Scalar/LoopFuse.cpp
  llvm/lib/Transforms/Utils/CodeMoverUtils.cpp
  llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82566.273396.patch
Type: text/x-patch
Size: 23255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200625/0a71ee32/attachment.bin>


More information about the llvm-commits mailing list