diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-11 11:31:09 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-01 15:15:04 -0700 |
commit | b145e903694fa932ab1e0d955e889555193ab604 (patch) | |
tree | ce6f4aab586b6fcffde5820242f127be9814f58c /ir_optimization.h | |
parent | f8bb17260a6afb48534ec70dc9d5584851d7e3c2 (diff) |
ir_vec_index_to_swizzle: Pass to convert indexing of vectors to swizzles.
This should remove the burden of handling constant vector indexing
well from backend codegen, and could help with swizzle optimizations.
Diffstat (limited to 'ir_optimization.h')
-rw-r--r-- | ir_optimization.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ir_optimization.h b/ir_optimization.h index d9e30ce..2916784 100644 --- a/ir_optimization.h +++ b/ir_optimization.h @@ -35,3 +35,4 @@ bool do_dead_code_local(exec_list *instructions); bool do_dead_code_unlinked(exec_list *instructions); bool do_function_inlining(exec_list *instructions); bool do_if_simplification(exec_list *instructions); +bool do_vec_index_to_swizzle(exec_list *instructions); |