[PATCH] D102995: errorUnsupported should be non-fatal

2021-05-26 Thread MJ via Phabricator via cfe-commits
majiang31312 added a comment. Thanks for the information. Well, the key problem is x64 abi. But we can do better here for sure. First of all, we can fallback to use fpu instructions. I can get the following binary which should work correctly(after this fix, of course) :

[PATCH] D102995: errorUnsupported should be non-fatal

2021-05-25 Thread MJ via Phabricator via cfe-commits
majiang31312 added a comment. In D102995#2778674 , @craig.topper wrote: > "fatal" in the comment means don't diagnose any additional errors and > immediately stop. We attempt to recover to detect more errors, but the > emitted binary code is likely inc

[PATCH] D102995: errorUnsupported should be non-fatal

2021-05-24 Thread MJ via Phabricator via cfe-commits
majiang31312 updated this revision to Diff 347546. majiang31312 added a comment. Try Arc Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D102995/new/ https://reviews.llvm.org/D102995 Files: clang/test/CodeGen/x86_64-mno-sse.c clang/test/CodeGen/x

[PATCH] D102995: errorUnsupported should be non-fatal

2021-05-24 Thread MJ via Phabricator via cfe-commits
majiang31312 updated this revision to Diff 347545. majiang31312 set the repository for this revision to rG LLVM Github Monorepo. majiang31312 added a comment. Herald added a project: clang. Herald added a subscriber: cfe-commits. CI failed to patch? Retry with Repository 'rG