[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"

Tim Northover t.p.northover at gmail.com
Sun Jun 16 11:54:24 PDT 2013


Hi Moshe,

> Haven't seen any reaction to it from LLVM developers so far. This is the
> first time I submit a bug to LLVM, maybe I need to set some fields
> differently to trigger their attention?

Realistically this is a fairly minor edge case and might not get much
attention. There are certainly people working specifically on such
edge-cases (quite a lot of activity within ARM itself) but they
obviously have their own priorities. Filing the bug makes sure it
won't be forgotten, it doesn't make sure someone will start working on
it at any particular time.

I'd suggest modifying your source assembly as a workaround for now --
particularly since unless you've reduced the example too far it's
actually invalid anyway. You can use "add r2, pc" to achieve the same
effect.

Cheers.

Tim.



More information about the llvm-dev mailing list