Enabled AOCC specific flags for all versions of AOCC compiler

Change-Id: Icad0ff1c1858c1762792ba8f2c5c3e846909cbb5
This commit is contained in:
Meghana
2020-06-02 15:01:36 +05:30
committed by Meghana Vankadari
parent b4e599ecc2
commit f4d2bb2fed

View File

@@ -59,7 +59,7 @@ CKVECFLAGS := -mavx2 -mfpmath=sse -mfma
else
ifeq ($(CC_VENDOR),clang)
CKVECFLAGS := -mavx2 -mfpmath=sse -mfma -mno-fma4 -mno-tbm -mno-xop -mno-lwp
ifeq ($(strip $(shell clang -v |&head -1 |grep -c 'AOCC.LLVM.2.0.0')),1)
ifeq ($(strip $(shell clang -v |&head -1 |grep -c 'AOCC.LLVM')),1)
CKVECFLAGS += -mllvm -disable-licm-vrp
endif
else