Skip to content

Commit

Permalink
Fixed [AssumeBundles] Move to IR so it can be used by Analysis
Browse files Browse the repository at this point in the history
This is a recommit of 57c964a
after fixing modules build.
  • Loading branch information
Ralender committed Mar 10, 2020
1 parent 3dabad1 commit a4cde9a
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 5 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions llvm/include/llvm/module.modulemap
Expand Up @@ -273,6 +273,7 @@ module LLVM_intrinsic_gen {
module IR_PatternMatch { header "IR/PatternMatch.h" export * }
module IR_SafepointIRVerifier { header "IR/SafepointIRVerifier.h" export * }
module IR_Statepoint { header "IR/Statepoint.h" export * }
module IR_KnowledgeRetention { header "IR/KnowledgeRetention.h" export * }

export *
}
Expand Down
1 change: 1 addition & 0 deletions llvm/lib/IR/CMakeLists.txt
Expand Up @@ -28,6 +28,7 @@ add_llvm_component_library(LLVMCore
Instruction.cpp
Instructions.cpp
IntrinsicInst.cpp
KnowledgeRetention.cpp
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMRemarkStreamer.cpp
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "llvm/Transforms/Utils/KnowledgeRetention.h"
#include "llvm/IR/KnowledgeRetention.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/IntrinsicInst.h"
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Passes/PassBuilder.cpp
Expand Up @@ -59,6 +59,7 @@
#include "llvm/CodeGen/UnreachableBlockElim.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IRPrintingPasses.h"
#include "llvm/IR/KnowledgeRetention.h"
#include "llvm/IR/PassManager.h"
#include "llvm/IR/SafepointIRVerifier.h"
#include "llvm/IR/Verifier.h"
Expand Down Expand Up @@ -179,7 +180,6 @@
#include "llvm/Transforms/Utils/CanonicalizeAliases.h"
#include "llvm/Transforms/Utils/EntryExitInstrumenter.h"
#include "llvm/Transforms/Utils/InjectTLIMappings.h"
#include "llvm/Transforms/Utils/KnowledgeRetention.h"
#include "llvm/Transforms/Utils/LCSSA.h"
#include "llvm/Transforms/Utils/LibCallsShrinkWrap.h"
#include "llvm/Transforms/Utils/LoopSimplify.h"
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Utils/CMakeLists.txt
Expand Up @@ -29,7 +29,6 @@ add_llvm_component_library(LLVMTransformUtils
InjectTLIMappings.cpp
InstructionNamer.cpp
IntegerDivision.cpp
KnowledgeRetention.cpp
LCSSA.cpp
LibCallsShrinkWrap.cpp
Local.cpp
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions llvm/unittests/IR/CMakeLists.txt
Expand Up @@ -24,6 +24,7 @@ add_llvm_unittest(IRTests
IRBuilderTest.cpp
InstructionsTest.cpp
IntrinsicsTest.cpp
KnowledgeRetentionTest.cpp
LegacyPassManagerTest.cpp
MDBuilderTest.cpp
ManglerTest.cpp
Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "llvm/Transforms/Utils/KnowledgeRetention.h"
#include "llvm/IR/KnowledgeRetention.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/LLVMContext.h"
Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/Transforms/Utils/CMakeLists.txt
Expand Up @@ -15,7 +15,6 @@ add_llvm_unittest(UtilsTests
CodeMoverUtilsTest.cpp
FunctionComparatorTest.cpp
IntegerDivisionTest.cpp
KnowledgeRetentionTest.cpp
LocalTest.cpp
LoopRotationUtilsTest.cpp
LoopUtilsTest.cpp
Expand Down

0 comments on commit a4cde9a

Please sign in to comment.