diff options
author | Nicolai Hähnle <[email protected]> | 2018-11-29 19:00:15 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2018-12-19 12:01:12 +0100 |
commit | 3c77f26ccc16f5e0fe58ef886d22efb0345a9ba5 (patch) | |
tree | 804a06e51f43649927dc065fff07307b21a8ae13 /src/amd/common | |
parent | 76c5ad1995cf48c3a5281fc4e8b6e3de58880ed7 (diff) |
amd/common: whitespace fixes
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index 336554a9ac8..7b4fa95771b 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -3141,11 +3141,10 @@ ac_build_inclusive_scan(struct ac_llvm_context *ctx, LLVMValueRef src, nir_op op { ac_build_optimization_barrier(ctx, &src); LLVMValueRef result; - LLVMValueRef identity = get_reduction_identity(ctx, op, - ac_get_type_size(LLVMTypeOf(src))); - result = LLVMBuildBitCast(ctx->builder, - ac_build_set_inactive(ctx, src, identity), - LLVMTypeOf(identity), ""); + LLVMValueRef identity = + get_reduction_identity(ctx, op, ac_get_type_size(LLVMTypeOf(src))); + result = LLVMBuildBitCast(ctx->builder, ac_build_set_inactive(ctx, src, identity), + LLVMTypeOf(identity), ""); result = ac_build_scan(ctx, op, result, identity); return ac_build_wwm(ctx, result); @@ -3156,11 +3155,10 @@ ac_build_exclusive_scan(struct ac_llvm_context *ctx, LLVMValueRef src, nir_op op { ac_build_optimization_barrier(ctx, &src); LLVMValueRef result; - LLVMValueRef identity = get_reduction_identity(ctx, op, - ac_get_type_size(LLVMTypeOf(src))); - result = LLVMBuildBitCast(ctx->builder, - ac_build_set_inactive(ctx, src, identity), - LLVMTypeOf(identity), ""); + LLVMValueRef identity = + get_reduction_identity(ctx, op, ac_get_type_size(LLVMTypeOf(src))); + result = LLVMBuildBitCast(ctx->builder, ac_build_set_inactive(ctx, src, identity), + LLVMTypeOf(identity), ""); result = ac_build_dpp(ctx, identity, result, dpp_wf_sr1, 0xf, 0xf, false); result = ac_build_scan(ctx, op, result, identity); |