diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-08 11:01:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-08 11:06:16 -0700 |
commit | 70b8d59792a814a5a81b86d57016314754d91593 (patch) | |
tree | 760c3ba7395f471546dfa1db823870df05144267 /src/gallium/drivers/llvmpipe/lp_bld_flow.h | |
parent | 080c40ab32b2abd6d8381b4a0cc143d36a1652b2 (diff) |
llvmpipe: checkpoint if/else/endif contructs work
The LLVM IR looks correct now. Basic blocks are where they're supposed
to be and the Phi functions have the right (var,block) information.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_flow.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_flow.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_flow.h b/src/gallium/drivers/llvmpipe/lp_bld_flow.h index 1f294b8a49..7c7cc402a3 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_flow.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_flow.h @@ -132,7 +132,7 @@ struct lp_build_if_state LLVMBuilderRef builder; struct lp_build_flow_context *flow; LLVMValueRef condition; - LLVMBasicBlockRef entry_block, true_block, false_block; + LLVMBasicBlockRef entry_block, true_block, false_block, merge_block; }; @@ -143,9 +143,6 @@ lp_build_if(struct lp_build_if_state *ctx, LLVMValueRef condition); void -lp_build_if_phi_var(struct lp_build_if_state *ctx, LLVMValueRef var); - -void lp_build_else(struct lp_build_if_state *ctx); void |