Ignore:
Timestamp:
Oct 13, 2015, 3:57:17 PM (4 years ago)
Author:
nmedfort
Message:

First attempt at adding grapheme cluster mode to icgrep.

File:
1 edited

Legend:

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

    r4829 r4831  
    285285                Advance * op = cast<Advance>(stmt->getOperand(0));
    286286                if (LLVM_UNLIKELY(op->getNumUses() == 1)) {
    287                     block.setInsertPoint(scanThru);
     287                    block.setInsertPoint(scanThru->getPrevNode());
    288288                    PabloAST * expr = block.createAdvance(op->getOperand(0), op->getAdvanceAmount() - 1);
    289289                    scanThru->setOperand(0, expr);
Note: See TracChangeset for help on using the changeset viewer.