summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/amd/common/ac_llvm_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index 55ead314d68..76047148a6a 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -1404,7 +1404,7 @@ ac_build_ddxy(struct ac_llvm_context *ctx,
LLVMValueRef val)
{
unsigned tl_lanes[4], trbl_lanes[4];
- LLVMValueRef tl, trbl, args[2];
+ LLVMValueRef tl, trbl;
LLVMValueRef result;
for (unsigned i = 0; i < 4; ++i) {