search for: whendirectly

Displaying 2 results from an estimated 2 matches for "whendirectly".

2015 Jul 05
2
[LLVMdev] ARM Jump table pcrelative relaxation in clang / llc
Hi, I have written a PassManager (IR) pass that seriously increases the size of the original IR code. As a result it seems that the generated machine code is incorrect (as of LLVM 3.5): The AsmPrinter generates the following instruction : adr r2, .LJTI4_0_0 when going through the MC streamer, I get a "fatal error: error in backend: out of range pc-relative fixup" . Apparently, the fixup
2015 Jul 06
3
[LLVMdev] ARM Jump table pcrelative relaxation in clang / llc
...irly recently fixed a bug that looks very similar (r238680,which was well after 3.6)* If I wanted to back port that to 3.5 where should I look at? Where in the ARM backend the decision to relax an instruction is taken? *That's weird. Even with "-filetype=obj" (the bug only occurs whendirectly writing an object file)? Not that it really affects anything,getting the same backend options with llc can be a bit tricky.* This is passing even with -filetype=obj. The transformation I apply are in the optimizer so I must build the new bc to create the object file. Thanks for your help Eric L...