* import llvminfo when building an llvm-targeting compiler to override the

default -O1/2/3 optimization levels and supported optimization switches
    (e.g. -Ooregvar is not supported for the llvm target, nor needed)

git-svn-id: branches/hlcgllvm@26055 -
This commit is contained in:
Jonas Maebe 2013-11-11 11:16:28 +00:00
parent 5409d4321e
commit ad84210a9a

View File

@ -27,7 +27,7 @@ interface
uses
cfileutl,
globtype,globals,verbose,systems,cpuinfo, comprsrc;
globtype,globals,verbose,systems,cpuinfo,comprsrc;
Type
TOption=class
@ -91,6 +91,10 @@ uses
comphook,
symtable,scanner,rabase,
symconst,
{$ifdef llvm}
{ override supported optimizer transformations at the compiler level }
llvminfo,
{$endif llvm}
dirparse,
i_bsd;