Changeset 5918 for icGREP


Ignore:
Timestamp:
Mar 20, 2018, 10:37:56 AM (14 months ago)
Author:
cameron
Message:

Fix wrong attribute error for posix_memalign

File:
1 edited

Legend:

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

    r5916 r5918  
    428428            f = Function::Create(fty, Function::ExternalLinkage, "posix_memalign", m);
    429429            f->setCallingConv(CallingConv::C);
    430             f->setReturnDoesNotAlias();
    431             #if LLVM_VERSION_INTEGER <LLVM_VERSION_CODE(5, 0, 0)
    432             f->setDoesNotAlias(1);
    433             #endif
    434430        }
    435431        Value * handle = CreateAlloca(voidPtrTy);
Note: See TracChangeset for help on using the changeset viewer.