[Libre-soc-dev] found LLVM bug surrounding inline assembly

Jacob Lifshay programmerjake at gmail.com
Tue Oct 13 00:52:16 BST 2020


On Mon, Oct 12, 2020 at 4:50 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
>
> On Tue, Oct 13, 2020 at 12:30 AM Jacob Lifshay <programmerjake at gmail.com> wrote:
> >
> > From working on power-instruction-analyzer, I found a correctness bug
> > where LLVM doesn't correctly save and restore LR around inline
> > assembly that clobbers it:
> > https://bugs.llvm.org/show_bug.cgi?id=47811

Found a nearly identical bug where LLVM doesn't handle CTR properly:
https://bugs.llvm.org/show_bug.cgi?id=47812

> cool!
:)

Jacob



More information about the Libre-soc-dev mailing list