[all-commits] [llvm/llvm-project] 5f4d1f: [libclc] Make CLC library warning-free (#128864)

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Feb 26 04:11:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f4d1f74004d3e4699b5c8b05edd2050f8456ee8
      https://github.com/llvm/llvm-project/commit/5f4d1f74004d3e4699b5c8b05edd2050f8456ee8
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M libclc/CMakeLists.txt
    M libclc/clc/lib/generic/math/clc_ldexp.cl

  Log Message:
  -----------
  [libclc] Make CLC library warning-free (#128864)

There is a long-standing workaround in the libclc build system that
silences a warning about the use of parentheses in bitwise conditional
operations.

In an effort to remove this workaround, this commit re-enables the
warning on the internal CLC library, where most of the bodies of the
builtins will eventually be defined. Thus as we move builtin
implementations into this library, the warnings will trigger and we can
clean up the codebase as we go.

As it happens the only instance in the CLC library which triggered the
warning was in __clc_ldexp.



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