Skip to content

Commit df82be5

Browse files
committed
Revert "kbuild: Add support for Clang's polyhedral loop optimizer."
This reverts commit 2f5bb81, as we will replace it with an implementation that checks for compiler support. Signed-off-by: Diab Neiroukh <[email protected]>
1 parent 58cfa31 commit df82be5

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -722,14 +722,6 @@ KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,)
722722
endif
723723
endif
724724

725-
ifdef CONFIG_POLLY_CLANG
726-
KBUILD_CFLAGS += -mllvm -polly \
727-
-mllvm -polly-vectorizer=stripmine
728-
ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
729-
KBUILD_CFLAGS += -mllvm -polly-run-dce
730-
endif
731-
endif
732-
733725
KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \
734726
$(call cc-disable-warning,maybe-uninitialized,))
735727

arch/Kconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -587,17 +587,6 @@ config SHADOW_CALL_STACK_VMAP
587587
provides better stack exhaustion protection, but increases per-thread
588588
memory consumption as a full page is allocated for each shadow stack.
589589

590-
config POLLY_CLANG
591-
bool "Use clang Polly optimizations"
592-
help
593-
This option enables Clang's polyhedral loop optimizer known as Polly.
594-
Polly is able to optimize various loops throughout the kernel for
595-
cache locality. This requires a Clang toolchain compiled with
596-
support for Polly. More information can be found from Polly's
597-
website:
598-
599-
https://polly.llvm.org
600-
601590
config HAVE_ARCH_WITHIN_STACK_FRAMES
602591
bool
603592
help

0 commit comments

Comments
 (0)