[all-commits] [llvm/llvm-project] d779b8: [libclc] Append file_specific_compile_options afte...

Wenju He via All-commits all-commits at lists.llvm.org
Fri May 16 02:22:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d779b8f92b4352b88b8512709ec0fe63f1c03695
      https://github.com/llvm/llvm-project/commit/d779b8f92b4352b88b8512709ec0fe63f1c03695
  Author: Wenju He <wenju.he at intel.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M libclc/cmake/modules/AddLibclc.cmake

  Log Message:
  -----------
  [libclc] Append file_specific_compile_options after ARG_COMPILE_FLAGS (#139871)

This enables file_specific_compile_options to take precedence over
ARG_COMPILE_FLAGS. For example, if we add -fno-slp-vectorize to
COMPILE_OPTIONS of a file, the behavior changes as follows:
* Before this PR: -fno-slp-vectorize is overwritten by -O3, resulting in
SLP vectorizer remaining enabled.
* After this PR: -fno-slp-vectorize overwrites -O3, effectively
disabling SLP vectorizer.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list