projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
194bee1
)
ac: remove useless cast in ac_build_set_inactive()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Fri, 8 Nov 2019 13:12:58 +0000
(14:12 +0100)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Tue, 19 Nov 2019 18:01:13 +0000
(18:01 +0000)
The return type is always the src type (32 or 64 bits).
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/llvm/ac_llvm_build.c
patch
|
blob
|
history
diff --git
a/src/amd/llvm/ac_llvm_build.c
b/src/amd/llvm/ac_llvm_build.c
index 4515f696e74bdaf3d6be7826e1580e83db4b345b..8137713d08609683aba1337c357242dd596ae9df 100644
(file)
--- a/
src/amd/llvm/ac_llvm_build.c
+++ b/
src/amd/llvm/ac_llvm_build.c
@@
-3864,7
+3864,8
@@
ac_build_set_inactive(struct ac_llvm_context *ctx, LLVMValueRef src,
src, inactive }, 2,
AC_FUNC_ATTR_READNONE |
AC_FUNC_ATTR_CONVERGENT);
- return LLVMBuildBitCast(ctx->builder, ret, src_type, "");
+
+ return ret;
}
static LLVMValueRef