[clang] [llvm] [HLSL][DXIL][SPRIV] Added WaveActiveMin intrinsic (PR #164385)

2025-10-28 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi approved this pull request. https://github.com/llvm/llvm-project/pull/164385 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [HLSL][DXIL][SPIRV] Added WaveActiveBitOr HLSL intrinsic (PR #165156)

2025-10-28 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi approved this pull request. https://github.com/llvm/llvm-project/pull/165156 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-reconvergence' function attribute is set (PR #163682)

2025-10-18 Thread Lucie Choi via cfe-commits
luciechoi wrote: cc: @s-perron , @Keenuts https://github.com/llvm/llvm-project/pull/163682 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL][SPIR-V] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc. (PR #163474)

2025-10-18 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi updated https://github.com/llvm/llvm-project/pull/163474 >From fce0b6bdb650b85b600cd2a00041cdda8e5d87a0 Mon Sep 17 00:00:00 2001 From: luciechoi Date: Tue, 14 Oct 2025 23:19:39 + Subject: [PATCH] [HLSL] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc

[clang] [llvm] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-reconvergence' function attribute is set (PR #163682)

2025-10-18 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi updated https://github.com/llvm/llvm-project/pull/163682 >From 6c87062d610158fbd9080680f30ecba9f803f459 Mon Sep 17 00:00:00 2001 From: luciechoi Date: Wed, 15 Oct 2025 00:04:12 + Subject: [PATCH 1/2] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-re

[clang] [HLSL][SPIR-V] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc. (PR #163474)

2025-10-18 Thread Lucie Choi via cfe-commits
@@ -243,6 +243,7 @@ ENUM_LANGOPT(HLSLVersion, HLSLLangStd, 16, HLSL_Unset, NotCompatible, "HLSL Vers LANGOPT(HLSLStrictAvailability, 1, 0, NotCompatible, "Strict availability diagnostic mode for HLSL built-in functions.") LANGOPT(HLSLSpvUseUnknownImageFormat, 1, 0, Not

[clang] [llvm] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-reconvergence' function attribute is set (PR #163682)

2025-10-18 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi updated https://github.com/llvm/llvm-project/pull/163682 >From 6c87062d610158fbd9080680f30ecba9f803f459 Mon Sep 17 00:00:00 2001 From: luciechoi Date: Wed, 15 Oct 2025 00:04:12 + Subject: [PATCH 1/3] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-re

[clang] [llvm] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-reconvergence' function attribute is set (PR #163682)

2025-10-18 Thread Lucie Choi via cfe-commits
@@ -0,0 +1,20 @@ +; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.6-unknown-vulkan1.3-compute --spirv-ext=+SPV_KHR_maximal_reconvergence %s -o - | FileCheck %s +; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.6-unknown-vulkan1.3-compute --spirv-ext=+SPV_KHR_maximal_recon

[clang] [llvm] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-reconvergence' function attribute is set (PR #163682)

2025-10-18 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi updated https://github.com/llvm/llvm-project/pull/163682 >From 6c87062d610158fbd9080680f30ecba9f803f459 Mon Sep 17 00:00:00 2001 From: luciechoi Date: Wed, 15 Oct 2025 00:04:12 + Subject: [PATCH 1/3] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-re

[clang] [HLSL] [SPIR-V] Add counter member for typed buffer (PR #161414)

2025-10-18 Thread Lucie Choi via cfe-commits
luciechoi wrote: LGTM https://github.com/llvm/llvm-project/pull/161414 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL][SPIR-V] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc. (PR #163474)

2025-10-17 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi created https://github.com/llvm/llvm-project/pull/163474 Implement the frontend change to support maximal reconvergence feature. The next work is to generate the corresponding SPIR-V instructions (`OpExtension` and `OpExecutionMode`) based on the llvm ir added in t

[clang] [HLSL][SPIR-V] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc. (PR #163474)

2025-10-17 Thread Lucie Choi via cfe-commits
luciechoi wrote: @s-perron https://github.com/llvm/llvm-project/pull/163474 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [SPIR-V] Generate SPIR-V instructions when 'enable-maximal-reconvergence' function attribute is set (PR #163682)

2025-10-17 Thread Lucie Choi via cfe-commits
@@ -0,0 +1,20 @@ +; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.6-unknown-vulkan1.3-compute --spirv-ext=+SPV_KHR_maximal_reconvergence %s -o - | FileCheck %s +; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.6-unknown-vulkan1.3-compute --spirv-ext=+SPV_KHR_maximal_recon

[clang] [HLSL][SPIR-V] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc. (PR #163474)

2025-10-17 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi updated https://github.com/llvm/llvm-project/pull/163474 >From fce0b6bdb650b85b600cd2a00041cdda8e5d87a0 Mon Sep 17 00:00:00 2001 From: luciechoi Date: Tue, 14 Oct 2025 23:19:39 + Subject: [PATCH 1/2] [HLSL] Add `-fspv-enable-maximal-reconvergence` flag to clang

[clang] [HLSL][SPIR-V] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc. (PR #163474)

2025-10-17 Thread Lucie Choi via cfe-commits
@@ -0,0 +1,17 @@ +// RUN: %clang_cc1 -triple spirv1.6-unknown-vulkan1.3-compute -fspv-enable-maximal-reconvergence -emit-llvm -o - -O0 %s | FileCheck %s --check-prefixes=CHECK +// RUN: %clang_cc1 -triple spirv1.6-unknown-vulkan1.3-compute -hlsl-entry test -fspv-enable-maximal-r

[clang] [HLSL][SPIR-V] Add `-fspv-enable-maximal-reconvergence` flag to clang dxc. (PR #163474)

2025-10-17 Thread Lucie Choi via cfe-commits
https://github.com/luciechoi updated https://github.com/llvm/llvm-project/pull/163474 >From fce0b6bdb650b85b600cd2a00041cdda8e5d87a0 Mon Sep 17 00:00:00 2001 From: luciechoi Date: Tue, 14 Oct 2025 23:19:39 + Subject: [PATCH 1/2] [HLSL] Add `-fspv-enable-maximal-reconvergence` flag to clang