[llvm-dev] intrinsics

Anastasiya Ruzhanskaya via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 1 12:42:02 PDT 2017


Hello,
some time ago I have asked this question, but -fno-builtin solution doesn't
help.
Is it possible to completely avoid llvm intrinsics functions?
int main() {
    // produce llvm.memcpy's
    char carray[LEN] = {1, 3, 5, 3, 2, 5, 3, 5, 3, 5, -2, 100};
    int a[LEN];
    memset(&a, 0, LEN);

    empty_byte(carray);

    return 0;
}

this examples always with any , with no flags produces llvm.memset.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170801/468313ee/attachment.html>


More information about the llvm-dev mailing list