From 3.7.0 onwards, we no longer need the -mllvm -enable-gvn=false hack

to compile boot2 successfully.
This commit is contained in:
dim 2015-05-30 18:10:43 +00:00
parent dce6917655
commit 9fc62ba776

View File

@ -129,7 +129,7 @@ CLANG_NO_IAS= -no-integrated-as
.endif
CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\
-mllvm -simplifycfg-dup-ret
.if ${COMPILER_VERSION} >= 30500
.if ${COMPILER_VERSION} >= 30500 && ${COMPILER_VERSION} < 30700
CLANG_OPT_SMALL+= -mllvm -enable-gvn=false
.else
CLANG_OPT_SMALL+= -mllvm -enable-load-pre=false