search for: codgenprepare

Displaying 2 results from an estimated 2 matches for "codgenprepare".

Did you mean: codegenprepare
2008 Apr 02
2
[LLVMdev] Alias analysis and instruction level parallelism
Duncan Sands wrote: >> My initial reaction is that if one were to decorate MachineInstr's >> with the LLVM level pointer values that they use for reading >> and writing memory, > > this is already the case: SrcValue and SVOffset. Ah, that's right. I went back and read the discussion from January, and Florian Brandner explains there that the real culprit is the
2008 Apr 03
0
[LLVMdev] Alias analysis and instruction level parallelism
On Wednesday 02 April 2008 11:54:26 Pertti Kellomäki wrote: > Ah, that's right. I went back and read the discussion from > January, and Florian Brandner explains there that the real > culprit is the lowering of GEP in the codegen prepare pass. codgenprepare rewrites GEP instructions into a sequence of PtrToInt casts, additions, multiplies and finally a IntToPtr cast. The basic alias analysis pass does not analyse pointers past an IntToPtr cast, and thus returns "may alias". i have tried to overcome this. basically you only need to find t...