[PATCH] D90482: [NFC intended] Refactor SinkAdHoistLICMFlags to allow others to construct without exposing internals

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 10:38:14 PDT 2020


jamieschmeiser created this revision.
jamieschmeiser added a reviewer: asbirlea.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
jamieschmeiser requested review of this revision.

[No intended Functional Change] Refactor SinkAdHoistLICMFlags from a
struct to a class with accessors and constructors to allow other
classes to construct flags with meaningful defaults while not
exposing LICM internal details.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90482

Files:
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/lib/Transforms/Scalar/LICM.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90482.301950.patch
Type: text/x-patch
Size: 9256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201030/47c6641d/attachment.bin>


More information about the llvm-commits mailing list