[llvm] [NFC] Fix dxil-dis/waveactiveballot.ll test (PR #207446)

Damyan Pepper via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 11:54:58 PDT 2026


https://github.com/damyanp created https://github.com/llvm/llvm-project/pull/207446

It looks like #204478 introduced new intrinsic signature verification, but since it didn't touch any of the HLSL/DXIL related paths the tests were never run on a runner that has dxil-dis installed on it.

Assisted-by: copilot

>From ce9ceeb5b213ef335944e59464bbb9a664fb4991 Mon Sep 17 00:00:00 2001
From: Damyan Pepper <damyanp at microsoft.com>
Date: Fri, 3 Jul 2026 11:42:14 -0700
Subject: [PATCH] [NFC] Fix dxil-dis/waveactiveballot.ll test

It looks like #204478 introduced new intrinsic signature verification, but since it didn't touch any of the HLSL/DXIL related paths the tests were never run on a runner that has dxil-dis installed on it.

Assisted-by: copilot
---
 llvm/test/tools/dxil-dis/waveactiveballot.ll | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/test/tools/dxil-dis/waveactiveballot.ll b/llvm/test/tools/dxil-dis/waveactiveballot.ll
index 2bdb4ec98a3db..f9fe45684a99a 100644
--- a/llvm/test/tools/dxil-dis/waveactiveballot.ll
+++ b/llvm/test/tools/dxil-dis/waveactiveballot.ll
@@ -13,7 +13,7 @@ target triple = "dxil-unknown-shadermodel6.3-library"
 
 define <4 x i32> @wave_ballot_simple(i1 %p1) {
 entry:
-  %s = call %dx.types.fouri32 @llvm.dx.wave.ballot(i1 %p1)
+  %s = call %dx.types.fouri32 @llvm.dx.wave.ballot.i32(i1 %p1)
 
   %v0 = extractvalue %dx.types.fouri32 %s, 0
   %v1 = extractvalue %dx.types.fouri32 %s, 1
@@ -28,4 +28,4 @@ entry:
   ret <4 x i32> %vec3
 }
 
-declare %dx.types.fouri32 @llvm.dx.wave.ballot(i1)
+declare %dx.types.fouri32 @llvm.dx.wave.ballot.i32(i1)



More information about the llvm-commits mailing list