[LLVMdev] Bounds checking
Vikram S. Adve
vadve at uiuc.edu
Fri Nov 30 21:03:07 PST 2007
LLVM itself doesn't do any bounds checks, but if the language front
end puts in any, they may be optimized (and hoisted) just as other
comparison operators and branches might. In other words, the LLVM
passes don't recognize any bounds checks specifically.
On Nov 30, 2007, at 10:28 PM, Chris Lattner wrote:
> On Nov 30, 2007, at 5:59 PM, Jon Harrop wrote:
>> Does LLVM hoist bounds checks out of inner loops?
> LLVM does loop unswitching, so yes in some cases it does.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev