[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-31 Thread Joshua Batista via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG57f879cdd4c6: clang: Add elementwise bitreverse builtin (authored by bob80905). Changed prior to commit: https://reviews.llvm.org/D156357?vs=545251&id=545741#toc Repository: rG LLVM Github Monorepo

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-28 Thread Joshua Batista via Phabricator via cfe-commits
bob80905 added inline comments. Comment at: clang/docs/LanguageExtensions.rst:634 the most negative integer remains the most negative integer - T __builtin_elementwise_fma(T x, T y, T z) fused multiply add, (x * y) + z.

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-28 Thread Joshua Batista via Phabricator via cfe-commits
bob80905 updated this revision to Diff 545251. bob80905 added a comment. - add float4 test Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D156357/new/ https://reviews.llvm.org/D156357 Files: clang/docs/LanguageExtensions.rst clang/docs/ReleaseNo

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-28 Thread Matt Arsenault via Phabricator via cfe-commits
arsenm added inline comments. Comment at: clang/docs/LanguageExtensions.rst:634 the most negative integer remains the most negative integer - T __builtin_elementwise_fma(T x, T y, T z) fused multiply add, (x * y) + z.

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-27 Thread Joshua Batista via Phabricator via cfe-commits
bob80905 updated this revision to Diff 544830. bob80905 added a comment. - apply clang-format on CGBuiltin.cpp Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D156357/new/ https://reviews.llvm.org/D156357 Files: clang/docs/LanguageExtensions.rst

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-26 Thread Joshua Batista via Phabricator via cfe-commits
bob80905 updated this revision to Diff 544610. bob80905 added a comment. - remove tests that only test floating point inputs Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D156357/new/ https://reviews.llvm.org/D156357 Files: clang/docs/LanguageExt

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-26 Thread Joshua Batista via Phabricator via cfe-commits
bob80905 updated this revision to Diff 544563. bob80905 added a comment. - remove strictfp test, add cgbuiltin case and update test in codegen Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D156357/new/ https://reviews.llvm.org/D156357 Files: clan

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-26 Thread Joshua Batista via Phabricator via cfe-commits
bob80905 updated this revision to Diff 544463. bob80905 added a comment. Herald added subscribers: wangpc, luke, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook,

[PATCH] D156357: clang: Add elementwise bitreverse builtin

2023-07-26 Thread Joshua Batista via Phabricator via cfe-commits
bob80905 created this revision. Herald added a subscriber: Anastasia. Herald added a project: All. bob80905 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Add codegen for llvm bitreverse elementwise builtin The bitreverse elementwise built