Ignore:
Timestamp:
Jun 7, 2018, 11:59:41 AM (12 months ago)
Author:
xwa163
Message:

fix some warning in lz4 related kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/lz4/lz4_bytestream_aio.cpp

    r6064 r6066  
    104104    LZ4ByteStreamAioKernel::generateProcessCompressedBlock(const std::unique_ptr<KernelBuilder> &b, llvm::Value *lz4BlockStart,
    105105                                                 llvm::Value *lz4BlockEnd) {
    106         BasicBlock* entryBlock = b->GetInsertBlock();
    107 
    108106        Value* isTerminal = b->CreateICmpEQ(lz4BlockEnd, b->getScalarField("fileSize"));
    109107        b->setTerminationSignal(isTerminal);
     
    397395                                                                            llvm::Value *currentTokenLocalPos
    398396    ) {
    399         Value* SIZE_1 = b->getSize(1);
    400397        Value* BYTE_F0 = b->getInt8(0xf0);
    401398        Value* shouldExtendLiteral = b->CreateICmpEQ(b->CreateAnd(tokenValue, BYTE_F0), BYTE_F0);
     
    460457                                                                          llvm::Value *blockPosBase
    461458    ) {
    462         Value* SIZE_1 = b->getSize(1);
    463459        Value* BYTE_0F = b->getInt8(0x0f);
    464460        Value* shouldExtendMatch = b->CreateICmpEQ(b->CreateAnd(tokenValue, BYTE_0F), BYTE_0F);
Note: See TracChangeset for help on using the changeset viewer.