[PATCH] D33222: [LegacyPassManager] Remove TargetMachine constructors
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 13:52:51 PDT 2017
thegameg updated this revision to Diff 99191.
thegameg marked 5 inline comments as done.
thegameg added a comment.
- Changed the error message when constructing a TPC without a target machine. Replaced llvm_unreachable with report_fatal_error.
- Added test to check for the error.
- Updated MipsModuleDAGToDAGISel to use TPC instead of MF.getTarget(). This avoids const_cast craziness.
- Removed the LeonMachineFunctionPass default constructor.
https://reviews.llvm.org/D33222
Files:
include/llvm/CodeGen/Passes.h
include/llvm/CodeGen/StackProtector.h
include/llvm/PassInfo.h
include/llvm/PassSupport.h
lib/CodeGen/AtomicExpandPass.cpp
lib/CodeGen/CodeGenPrepare.cpp
lib/CodeGen/DwarfEHPrepare.cpp
lib/CodeGen/InterleavedAccessPass.cpp
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/LowerEmuTLS.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/CodeGen/PrologEpilogInserter.cpp
lib/CodeGen/SafeStack.cpp
lib/CodeGen/StackProtector.cpp
lib/CodeGen/TargetPassConfig.cpp
lib/CodeGen/WinEHPrepare.cpp
lib/IR/PassRegistry.cpp
lib/Target/AArch64/AArch64TargetMachine.cpp
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/R600ClauseMergePass.cpp
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
lib/Target/AMDGPU/R600Packetizer.cpp
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
lib/Target/ARM/ARMTargetMachine.cpp
lib/Target/Hexagon/HexagonTargetMachine.cpp
lib/Target/Mips/Mips.h
lib/Target/Mips/Mips16HardFloat.cpp
lib/Target/Mips/MipsDelaySlotFiller.cpp
lib/Target/Mips/MipsLongBranch.cpp
lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
lib/Target/Mips/MipsOptimizePICCall.cpp
lib/Target/Mips/MipsOs16.cpp
lib/Target/Mips/MipsTargetMachine.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
lib/Target/Sparc/DelaySlotFiller.cpp
lib/Target/Sparc/LeonPasses.cpp
lib/Target/Sparc/LeonPasses.h
lib/Target/Sparc/Sparc.h
lib/Target/Sparc/SparcTargetMachine.cpp
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
lib/Target/X86/X86TargetMachine.cpp
lib/Target/XCore/XCoreTargetMachine.cpp
test/CodeGen/Generic/opt-codegen-no-target-machine.ll
tools/llc/llc.cpp
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33222.99191.patch
Type: text/x-patch
Size: 75167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170516/f1425727/attachment-0001.bin>
More information about the llvm-commits
mailing list