Linux/ARM: Bus error with -O3 flag of clang/llvm-3.6 while running unit-test of .NET Core

Geunsik Lim via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 13 00:22:25 PDT 2016


> The compiler (certainly Clang) should be able to optimize the memcpy
> away and generate the best possible code.

I will share the evaluation result after comparing the generated
instructions
between "with memcpy" and "without memcpy" case using simple C# file.


> I'm afraid I still can't see any build errors in your messages (even
> viewing the raw text). I can't comment on what I can't see.
I could not find the related build error messages. Please, ignore the
previous report
because I am not meet the build error with latest version of the coreCLR.


BTW, Where can we find an official documentation of the optimization levels
(e.g., O0, O1, O2, O3, Ofast, and so on)  of clang like GCC online manual?



On Tue, Jul 12, 2016 at 9:35 PM, Tim Northover <t.p.northover at gmail.com>
wrote:

> On 11 July 2016 at 23:37, Geunsik Lim <leemgs at gmail.com> wrote:
> > I am trying to run unaligned access without memcpy(3) library call in
> order
> > to avoid performance degradation.
>
> The compiler (certainly Clang) should be able to optimize the memcpy
> away and generate the best possible code.
>
> Tim.
>



-- 
http://leemgs.fedorapeople.org
Don't try to avoid pain if you fail.
If you decided to face the challenges in life,
you can gain a lot by giving your best.
Cheolsang Jeong's Book & life
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160713/9e528fbe/attachment.html>


More information about the llvm-commits mailing list