[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-18 Thread Finn Plummer via cfe-commits
https://github.com/inbelic edited https://github.com/llvm/llvm-project/pull/112400 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-18 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From aa2ae997f66bf6cd43fc36cbe69c6731914ce9f0 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 18 Oct 2024 10:49:18 -0700 Subject: [PATCH] [HLSL][SPIRV] Implement `WaveActiveSum` intrinsic - add clang

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-17 Thread Finn Plummer via cfe-commits
https://github.com/inbelic edited https://github.com/llvm/llvm-project/pull/112400 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-16 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From 0843af11c647e839704eded62c65d87ec1b2b730 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Wed, 16 Oct 2024 15:27:12 -0700 Subject: [PATCH 1/3] [NFC][DXIL] Allow extra args to replaceFunctionWithOp -

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-16 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From 0843af11c647e839704eded62c65d87ec1b2b730 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Wed, 16 Oct 2024 15:27:12 -0700 Subject: [PATCH 1/5] [NFC][DXIL] Allow extra args to replaceFunctionWithOp -

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-16 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From 0843af11c647e839704eded62c65d87ec1b2b730 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Wed, 16 Oct 2024 15:27:12 -0700 Subject: [PATCH 1/3] [NFC][DXIL] Allow extra args to replaceFunctionWithOp -

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-16 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From 0843af11c647e839704eded62c65d87ec1b2b730 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Wed, 16 Oct 2024 15:27:12 -0700 Subject: [PATCH 1/3] [NFC][DXIL] Allow extra args to replaceFunctionWithOp -

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-16 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From 0843af11c647e839704eded62c65d87ec1b2b730 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Wed, 16 Oct 2024 15:27:12 -0700 Subject: [PATCH 1/3] [NFC][DXIL] Allow extra args to replaceFunctionWithOp -

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-16 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 6d13cc9411b998aabf1a55e0813236ba7a278929 f214ba68c8045613266cf2becf49a2379e7ca450 --e

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-16 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From 896b3adb4f2820f1ccc651cf98e2bade2f972dc4 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Wed, 16 Oct 2024 14:44:09 -0700 Subject: [PATCH 1/2] [NFC][DXIL] add ability to alias to an intrinsic - allows

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-15 Thread Finn Plummer via cfe-commits
inbelic wrote: Dependent on https://github.com/llvm/llvm-project/pull/112058 and https://github.com/llvm/llvm-project/pull/111010. https://github.com/llvm/llvm-project/pull/112400 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.l

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-15 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/112400 >From c541955941a11b57efc624b87f50ce61f1b4c26a Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 11 Oct 2024 15:06:15 -0700 Subject: [PATCH] [HLSL] Implement `WaveActiveSum` intrinsic - add clang built

[clang] [llvm] [HLSL] Implement `WaveActiveSum` intrinsic (PR #112400)

2024-10-15 Thread Finn Plummer via cfe-commits
https://github.com/inbelic created https://github.com/llvm/llvm-project/pull/112400 - add clang builtin to Builtins.td - link builtin in hlsl_intrinsics - add codegen for spirv intrinsic and two directx intrinsics to retain signedness information of the operands in CGBuiltin.cpp