[PATCH] D76871: Expose `attributor-disable` to the new and old pass managers

Tarindu Jayatilaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 11:23:02 PDT 2020


tarinduj created this revision.
tarinduj added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: uenoku.
Herald added subscribers: llvm-commits, uenoku.
Herald added a project: LLVM.

The new and old pass managers (PassManagerBuilder.cpp and PassBuilder.cpp) are exposed to an `extern` declaration of `attributor-disable` option which will guard the addition of the attributor passes to the pass pipelines.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76871

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h


Index: llvm/include/llvm/Transforms/IPO/Attributor.h
===================================================================
--- llvm/include/llvm/Transforms/IPO/Attributor.h
+++ llvm/include/llvm/Transforms/IPO/Attributor.h
@@ -110,15 +110,15 @@
 #include "llvm/IR/CallSite.h"
 #include "llvm/IR/ConstantRange.h"
 #include "llvm/IR/PassManager.h"
-#include "llvm/Transforms/Utils/CallGraphUpdater.h"
 #include "llvm/Support/CommandLine.h"
+#include "llvm/Transforms/Utils/CallGraphUpdater.h"
 
 namespace llvm {
 
 struct AbstractAttribute;
 struct InformationCache;
 struct AAIsDead;
-  
+
 class Function;
 
 /// Simple enum classes that forces properties to be spelled out explicitly.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76871.252905.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/b8284e5a/attachment-0001.bin>


More information about the llvm-commits mailing list