[libclc] [libclc] Move frexp to CLC library; optimize half vecs (PR #127836)

2025-02-19 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. This should move to use the new frexp intrinsic https://github.com/llvm/llvm-project/pull/127836 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[libclc] [libclc] Move frexp to CLC library; optimize half vecs (PR #127836)

2025-02-19 Thread Fraser Cormack via cfe-commits
https://github.com/frasercrmck created https://github.com/llvm/llvm-project/pull/127836 This commit moves the frexp builtin to the CLC library. It simultaneously optimizes the code generated for half vectors, which was previously scalarizing and casting up to float. With this commit it still c