https://llvm.org/bugs/show_bug.cgi?id=25128
Bug ID: 25128 Summary: ISelLowering ignores -fno-builtin-memset Product: libraries Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: Common Code Generator Code Assignee: unassignedb...@nondot.org Reporter: mcros...@codeaurora.org CC: llvm-bugs@lists.llvm.org Classification: Unclassified more memset.c void *test_memset(void *s) { return memset(s, 0, 16); } tranquillien{3286}> clang-aarch64-x -S -o - -fno-builtin -w -O3 memset.c test_memset: // @test_memset // BB#0: // %entry stp x29, x30, [sp, #-16]! mov x29, sp mov w1, wzr orr w2, wzr, #0x10 bl memset sxtw x0, w0 ldp x29, x30, [sp], #16 ret tranquillien{3287}> clang-aarch64-x -S -o - -fno-builtin-memset -w -O3 memset.c test_memset: // @test_memset // BB#0: // %entry stp xzr, xzr, [x0] ret .ident "clang version 3.8.0 (trunk 249722) (llvm/trunk 249724)" .section ".note.GNU-stack","",@progbits -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs