diff options
author | Christian König <[email protected]> | 2013-02-27 22:39:26 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2013-03-07 10:03:22 +0100 |
commit | e4188ee13d7101657e7e9c91ee9ade3b98953c9f (patch) | |
tree | c6b14e01fb52194c3a46bd16f00d0c16eaff022a /src/gallium/drivers/radeonsi/radeonsi_shader.c | |
parent | 0666ffddd2a7081fbf510904340df771a5e3fe98 (diff) |
radeonsi: add LLVMNoUnwindAttribute to intrinsic
So LLVM can better eliminate dead code.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 144e0e036e6..95ccd1ef17e 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.c +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c @@ -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], |