search for: hopefolly

Displaying 4 results from an estimated 4 matches for "hopefolly".

2012 Oct 28
2
[LLVMdev] Annotating known pointer alignment
...n undefined behaviour, and would need to be > documented in the LangRef. It already is: "Overestimating the alignment results in an undefined behavior." (both load and store). But implementing this kind of optimization is not that easy, since it would require to 1) visit other uses (hopefolly an aligned load/store) of the pointer for which we want to know the Known-Zero-Bits, and 2) know the dominance tree, since exploiting the knowledge about the alignment of the pointer is only valid after the load/store has been executed. As far as I can see, both is not done in InstCombine yet,...
2012 Oct 29
0
[LLVMdev] Annotating known pointer alignment
...d need to be >> documented in the LangRef. > > It already is: "Overestimating the alignment results in an undefined behavior." > (both load and store). > But implementing this kind of optimization is not that easy, since it would > require to > 1) visit other uses (hopefolly an aligned load/store) of the pointer for which > we want to know the Known-Zero-Bits, and > 2) know the dominance tree, since exploiting the knowledge about the alignment > of the pointer is only valid after the load/store has been executed. > > As far as I can see, both is not done...
2012 Oct 28
0
[LLVMdev] Annotating known pointer alignment
Hi Clemens, > I'm instrumenting IR by replacing loads and stores by calls to a library, which > I have compiled to bitcode such that inlining can take place. My problem is: If > I could retain the alignment information on the load/store, this would open many > optimization opportunities after inlining. Unfortunately, I don't know how. > > After thinking about it, and
2012 Oct 28
2
[LLVMdev] Annotating known pointer alignment
Hi all, I'm instrumenting IR by replacing loads and stores by calls to a library, which I have compiled to bitcode such that inlining can take place. My problem is: If I could retain the alignment information on the load/store, this would open many optimization opportunities after inlining. Unfortunately, I don't know how. After thinking about it, and trying different things, I now