[llvm] r200961 - [Sparc] Emit correct relocations for PIC code when integrated assembler is used.

Nico Rieck nico.rieck at gmail.com
Sun Feb 16 04:46:04 PST 2014


On 07.02.2014 05:24, Venkatraman Govindaraju wrote:
> Added: llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll?rev=200961&view=auto
> ==============================================================================
> --- llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll (added)
> +++ llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll Thu Feb  6 22:24:35 2014
> [...]
> +
> + at AGlobalVar = global i64 0, align 8
> +
> +; CHECK-ASM: sethi %h44(AGlobalVar), [[R:%[goli][0-7]]]
> +; CHECK-ASM: add   [[R]], %m44(AGlobalVar), [[R]]
> +define i64 @foo(i64 %a) {
> +entry:

The CHECK-ASM prefixed is never exercised. Is this test missing a RUN line?



More information about the llvm-commits mailing list