mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
radeonsi: add LLVMNoUnwindAttribute to intrinsic
So LLVM can better eliminate dead code. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
0666ffddd2
commit
e4188ee13d
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ static void si_llvm_init_export_args(struct lp_build_tgsi_context *bld_base,
|
|||
"llvm.SI.packf16",
|
||||
LLVMInt32TypeInContext(base->gallivm->context),
|
||||
args, 2,
|
||||
LLVMReadNoneAttribute);
|
||||
LLVMReadNoneAttribute | LLVMNoUnwindAttribute);
|
||||
args[chan + 7] = args[chan + 5] =
|
||||
LLVMBuildBitCast(base->gallivm->builder,
|
||||
args[chan + 5],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue