aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/llvm
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-07-09 19:50:14 +0200
committerTristan Gingold <tgingold@free.fr>2016-07-09 19:51:31 +0200
commit453ccd49a87930aa6d3a2867e3355872a613a379 (patch)
treeb86b7a912645620322d03f25daa403c7d10620b2 /src/ortho/llvm
parent345cae874d28a2c333d91ab40481cdf0ae7d1480 (diff)
downloadghdl-453ccd49a87930aa6d3a2867e3355872a613a379.tar.gz
ghdl-453ccd49a87930aa6d3a2867e3355872a613a379.tar.bz2
ghdl-453ccd49a87930aa6d3a2867e3355872a613a379.zip
llvm: don't verify module (doesn't scale)
Diffstat (limited to 'src/ortho/llvm')
-rw-r--r--src/ortho/llvm/ortho_code_main.adb12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ortho/llvm/ortho_code_main.adb b/src/ortho/llvm/ortho_code_main.adb
index b84dfbbd2..5558a8bbe 100644
--- a/src/ortho/llvm/ortho_code_main.adb
+++ b/src/ortho/llvm/ortho_code_main.adb
@@ -287,11 +287,13 @@ begin
end if;
-- Verify module.
- if LLVM.Analysis.VerifyModule
- (Module, LLVM.Analysis.PrintMessageAction, Msg'Access) /= 0
- then
- DisposeMessage (Msg);
- raise Program_Error;
+ if False then
+ if LLVM.Analysis.VerifyModule
+ (Module, LLVM.Analysis.PrintMessageAction, Msg'Access) /= 0
+ then
+ DisposeMessage (Msg);
+ raise Program_Error;
+ end if;
end if;
if Optimization > CodeGenLevelNone then