diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-08-17 10:56:35 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-08-17 10:56:35 +0000 |
commit | 607b8b26e9ca34ff47ac294f34bbe0b1d170e8e4 (patch) | |
tree | 07e2e25f1eabe97283a54e8b8f2d9f45d138f1ce /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | ec23a956916807a66f1dbbfbaaeee94913495fc9 (diff) | |
download | bcm5719-llvm-607b8b26e9ca34ff47ac294f34bbe0b1d170e8e4.tar.gz bcm5719-llvm-607b8b26e9ca34ff47ac294f34bbe0b1d170e8e4.zip |
Disable targetdatalayoutcheck
llvm-svn: 245210
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index cf9213b84c4..5a797f84843 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -87,11 +87,6 @@ MachineFunction::MachineFunction(const Function *F, const TargetMachine &TM, FunctionNumber = FunctionNum; JumpTableInfo = nullptr; - - assert(TM.isCompatibleDataLayout(getDataLayout()) && - "Can't create a MachineFunction using a Module with a " - "Target-incompatible DataLayout attached\n"); - PSVManager = llvm::make_unique<PseudoSourceValueManager>(); } |