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

Venkatraman Govindaraju venkatra at cs.wisc.edu
Tue Feb 18 11:52:02 PST 2014


On Sun, Feb 16, 2014 at 6:46 AM, Nico Rieck <nico.rieck at gmail.com> wrote:
> 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?

These are spurious checks.  I will delete them from the testcase.

Thanks
Venkatraman



More information about the llvm-commits mailing list