[llvm-dev] POssible bug in the Arm code generator

Renato Golin via llvm-dev
Mon, 07 Sep 2015 11:13:04 -0000

On 7 September 2015 at 09:43, Denis Protivensky via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> > GHC does not generate or use thumb instructions
>
> From you assembly dump, looks like the instructions are 2 bytes long,
> meaning it's Thumb code not ARM.

This could be some library code that you're calling without using
branch exchange. Maybe you're compiling specifically disabling
interworking?

Can you give us a bit more context? What's your CPU, and what are your
back-end options in GHC?

cheers,
--renato