Changeset 5567


Ignore:
Timestamp:
Jul 13, 2017, 6:22:40 PM (22 months ago)
Author:
nmedfort
Message:

compilation bug fix

File:
1 edited

Legend:

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

    r5566 r5567  
    2929
    3030#include <set>
     31#include <unordered_set>
    3132#include <random>
    3233
     
    3839#include <llvm/Support/raw_ostream.h>
    3940#include <pablo/printer_pablos.h>
    40 #include <llvm/Support/CommandLine.h>
    4141
    4242// #define PRINT_DEBUG
     
    290290                // Does the vertex have a value and, if so, does value dominate this statement?
    291291                // If not, we need to regenerate it.
    292                 for (bool first_cycle = true;;) {
     292                for (;;) {
    293293                    if (ei == ei_end) {
    294                         assert (first_cycle);
    295294                        ei = ei_begin;
    296                         first_cycle = false;
    297295                    }
    298296                    if (G[*ei] == i) {
     
    418416
    419417                    default:
    420                         llvm_unreachable("cannot regenerate this non-associtive statement!");
     418                        llvm_unreachable("cannot regenerate this non-associative statement!");
    421419                }
    422420
Note: See TracChangeset for help on using the changeset viewer.