summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-01-07 14:51:13 -0500
committerMarek Olšák <[email protected]>2019-01-07 14:51:25 -0500
commit492ad9a40245c05fc2429b4ee8c0849caef0fb7d (patch)
tree3b60cd966bdbdbe88dfba64f16a8f20545398cf6 /src/amd
parent0cc01f45e7294122a2ae171b09ac3375b2a75d83 (diff)
ac: remove unused variable from ac_build_ddxy
trivial
Diffstat (limited to 'src/amd')
-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) {