chapel-lang/chapel — pull request #291 by mppf (2014-09-03 19:28:22+00:00)
Title: Add LLVM backend support for C For Loops

Directly support C for loops in the LLVM backend. Tested with make check for LLVM and non-llvm builds and with test/types/range/diten/cForLoops and with zipRange.chpl therein with --no-scalar-replacement and/or --no-inline. Tests OK.

Also fixes up some previous LLVM code generation that added unnecessary ICmpNE in some cases.