[LLVMdev] Branch Relaxation Support?
Dale Johannesen
dalej at apple.com
Thu Aug 13 13:26:21 PDT 2009
On Aug 13, 2009, at 1:08 PMPDT, Evan Cheng wrote:
> ARM has its own pass to do this (ARMConstantIslandPass.cpp). At some
> point of time we'd like to rip out the branch relaxation part and make
> it into a target independent pass.
I don't know about ripping it out, the data structures of the parts
are pretty much interleaved. However, on a target without constant
islands, the constant islands part won't do anything; it should be
feasible to make the entire pass target independent. Right now the
recognition and handling of branch instructions is ARM-specific,
however.
> Evan
>
> On Aug 13, 2009, at 10:02 AM, Bagel wrote:
>
>> I think I have read that there are plans to generate object code
>> (e.g. ELF)
>> directly in addition to assembly language source. If so, are there
>> plans to
>> support branch relaxation for targets which support long/short branch
>> displacements? This is typically done in assemblers.
>>
>> thanks,
>> bagel
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list