[LLVMdev] Aliasing Question
sheng wang
wansheg at qq.com
Thu Nov 14 07:08:06 PST 2013
I try to answer your question ,first:
Address compution located in branch block is Good, that. Will reduce
register pressure; may be you can consider lazy code motion optimization as
example.
Second,
Ryan Taylor-5 wrote
> I just have two questions regarding the following small piece of code:
>
> if (var > start*end) {
> arr[var] = arr[var-1];
> }
> else {
> arr[var] = arr[var+1];
> }
>
> 1. Why does llvm put the address computation in the branched blocks
> instead
> of the common dominator?
> 2. Why does the AliasAnalysis return MayAlias instead of MustAlias?
>
> Thanks.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at .uiuc
> http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
--
View this message in context: http://llvm.1065342.n5.nabble.com/Aliasing-Question-tp37015p63318.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev
mailing list