search for: getelemenptrs

Displaying 3 results from an estimated 3 matches for "getelemenptrs".

Did you mean: getelementptrs
2007 Jan 29
2
[LLVMdev] A question about GetElementPtr common subexpression elimination/loop invariant code motion
...nvolving at least two multiplications and one addition) hence it actualy should have been moved out of the inner loop. At the very least inside the loop it should have been calculated once , and not twice. Anyway this is just a syptom of a general phenomenon in which it seems my LLVM assumes that getelemenptrs are atomic and it does not try to do any optimization on them. Can someone tell me if there is a known solution /existing code transformation that does the optimization ?
2007 Jan 29
0
[LLVMdev] A question about GetElementPtr common subexpression elimination/loop invariant code motion
...elementptr instructions > is quite expensive (involving at least two multiplications and one > addition) hence it actualy should have been moved out of the inner loop. Right. > and not twice. Anyway this is just a syptom of a general > phenomenon in which it seems my LLVM assumes that getelemenptrs are > atomic and it does not try to do any optimization on > them. LLVM assumes that the code generator will handle this optimization when the getelementptr's are lowered into integer arithmetic. Many things can only be optimized after lowering in the code generator, and LICM of simpl...
2018 Feb 19
0
LLVM Weekly - #216, Feb 19th 2018
LLVM Weekly - #216, Feb 19th 2018 ================================= If you prefer, you can read a HTML version of this email at <http://llvmweekly.org/issue/216>. Welcome to the two hundred and sixteenth issue of LLVM Weekly, a weekly newsletter (published every Monday) covering developments in LLVM, Clang, and related projects. LLVM Weekly is brought to you by [Alex