diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-07-09 19:50:14 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-07-09 19:51:31 +0200 |
commit | 453ccd49a87930aa6d3a2867e3355872a613a379 (patch) | |
tree | b86b7a912645620322d03f25daa403c7d10620b2 /src/ortho/llvm | |
parent | 345cae874d28a2c333d91ab40481cdf0ae7d1480 (diff) | |
download | ghdl-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.adb | 12 |
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 |