Displaying 2 results from an estimated 2 matches for "bitast".
Did you mean:
bitcast
2008 Sep 08
2
[LLVMdev] Overzealous PromoteCastOfAllocation
Hi all,
I'm currently running into some problems with instcombine changing the type of
alloca instructions. In particular, the PromoteCastOfAllocation looks at any
allocation instruction that is used by a bitast.
It does a few checks, but basically tries to change the type of the alloca
instruction to the type pointed to by the bitcasted type. The current
heuristic for determining if this is a good idea, is "do it if the aligment of
the new type is larger than before" (Note that this is not just...
2008 Sep 08
0
[LLVMdev] Overzealous PromoteCastOfAllocation
...Sep 8, 2008, at 8:57 AM, Matthijs Kooijman wrote:
> Hi all,
>
> I'm currently running into some problems with instcombine changing
> the type of
> alloca instructions. In particular, the PromoteCastOfAllocation
> looks at any
> allocation instruction that is used by a bitast.
>
> It does a few checks, but basically tries to change the type of the
> alloca
> instruction to the type pointed to by the bitcasted type. The current
> heuristic for determining if this is a good idea, is "do it if the
> aligment of
> the new type is larger than be...