[all-commits] [llvm/llvm-project] 5945ea: [libclc][test] Update math/cos.cl check lines afte...

michaelselehov via All-commits all-commits at lists.llvm.org
Fri May 29 11:16:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5945eacb934590c2a7091d73f53289e5dbcf2c40
      https://github.com/llvm/llvm-project/commit/5945eacb934590c2a7091d73f53289e5dbcf2c40
  Author: michaelselehov <michael.selehov at amd.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M libclc/test/math/cos.cl

  Log Message:
  -----------
  [libclc][test] Update math/cos.cl check lines after #199981 revert (#200353)

The libclc lit test 'math/cos.cl' (introduced by #197151 with
auto-generated FileCheck assertions) started failing on the staging
buildbot after the revert in #199981 of the AMDGPU ABI coercion change
(#185083). The revert restores the older codegen path, which produces a
slightly different IR shape for the select instruction inside the cos()
implementation:

  - the select's 'contract' fast-math flag is no longer present, and
  - the result is named %.v.i.i instead of a numbered SSA temporary.

Regenerate the AMDGCN CHECK lines with
libclc/test/update_libclc_tests.py to reflect the post-revert IR. After
this change, all 10 libclc tests in check-libclc-amdgcn-amd-amdhsa-llvm
pass.

Note: running update_libclc_tests.py also produces a purely cosmetic
diff in math/rsqrt.cl (it renames a few FileCheck capture names like
META13 to META12 to match the actual metadata indices); those capture
renames are not required for the test to pass and are not included here
to keep the change minimal.

Co-authored-by: mselehov <mselehov at amd.com>



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