Changeset 4281


Ignore:
Timestamp:
Oct 31, 2014, 6:46:08 PM (4 years ago)
Author:
nmedfort
Message:

Using Less optimization for any expression with a loop.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.cpp

    r4280 r4281  
    188188    builder.setMCPU(sys::getHostCPUName());
    189189    builder.setUseMCJIT(true);
    190     builder.setOptLevel(mMaxNestingDepth > 1 ? CodeGenOpt::Level::Less : CodeGenOpt::Level::None);
     190    builder.setOptLevel(mMaxNestingDepth ? CodeGenOpt::Level::Less : CodeGenOpt::Level::None);
    191191    mExecutionEngine = builder.create();
    192192    if (mExecutionEngine == nullptr) {
Note: See TracChangeset for help on using the changeset viewer.