Ignore:
Timestamp:
Jun 1, 2017, 1:00:08 PM (23 months ago)
Author:
nmedfort
Message:

Bug fix for memory check and issues found parsing internal 'files'. Added backtrace option from execinfo.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_builder.cpp

    r5488 r5489  
    174174            }
    175175        }
    176         Constant * revVec = ConstantVector::get({Idxs, byte_count});
    177176        return CreateShuffleVector(bitrev8, UndefValue::get(fwVectorType(8)), ConstantVector::get({Idxs, byte_count}));
    178177    }
     
    397396}
    398397
    399 IDISA_Builder::IDISA_Builder(llvm::LLVMContext & C, unsigned archBitWidth, unsigned bitBlockWidth, unsigned stride)
    400 : CBuilder(C, archBitWidth)
    401 , mBitBlockWidth(bitBlockWidth)
     398IDISA_Builder::IDISA_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned stride)
     399: CBuilder(C)
     400, mBitBlockWidth(vectorWidth)
    402401, mStride(stride)
    403 , mBitBlockType(VectorType::get(IntegerType::get(C, 64), bitBlockWidth / 64))
     402, mBitBlockType(VectorType::get(IntegerType::get(C, 64), vectorWidth / 64))
    404403, mZeroInitializer(Constant::getNullValue(mBitBlockType))
    405404, mOneInitializer(Constant::getAllOnesValue(mBitBlockType))
Note: See TracChangeset for help on using the changeset viewer.