From 607b8b26e9ca34ff47ac294f34bbe0b1d170e8e4 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Mon, 17 Aug 2015 10:56:35 +0000 Subject: Disable targetdatalayoutcheck llvm-svn: 245210 --- llvm/lib/CodeGen/MachineFunction.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/CodeGen/MachineFunction.cpp') 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(); } -- cgit v1.2.3