Fix the module-enabled build by removing a redundant type definition.
authorAdrian Prantl <aprantl@apple.com>
Fri, 7 May 2021 21:44:45 +0000 (14:44 -0700)
committerAdrian Prantl <aprantl@apple.com>
Fri, 7 May 2021 21:45:17 +0000 (14:45 -0700)
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp

index 0b9d869..6e74f4c 100644 (file)
@@ -29,6 +29,7 @@
 #include "llvm/IR/Verifier.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/ManagedStatic.h"
+#include "llvm/Target/CGPassBuilderOption.h"
 #include "llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h"
 #include "llvm/Transforms/IPO.h"
 #include "llvm/Transforms/IPO/Attributor.h"
@@ -73,7 +74,6 @@ cl::opt<bool> RunNewGVN("enable-newgvn", cl::init(false), cl::Hidden,
                         cl::desc("Run the NewGVN pass"));
 
 // Experimental option to use CFL-AA
-enum class CFLAAType { None, Steensgaard, Andersen, Both };
 static cl::opt<::CFLAAType>
     UseCFLAA("use-cfl-aa", cl::init(::CFLAAType::None), cl::Hidden,
              cl::desc("Enable the new, experimental CFL alias analysis"),