[llvm] r221793 - Revert part of the PIC tests (TLS part)

Justin Hibbits jrh29 at alumni.cwru.edu
Wed Nov 12 08:50:15 PST 2014


Author: jhibbits
Date: Wed Nov 12 10:50:15 2014
New Revision: 221793

URL: http://llvm.org/viewvc/llvm-project?rev=221793&view=rev
Log:
Revert part of the PIC tests (TLS part)

This change actually wasn't warranted for -O0, and the new changes prove it and
break the build.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll?rev=221793&r1=221792&r2=221793&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll Wed Nov 12 10:50:15 2014
@@ -25,7 +25,7 @@ entry:
 ; OPT0:      addis [[REG2:[0-9]+]], 3, a at dtprel@ha
 ; OPT0-NEXT: addi {{[0-9]+}}, [[REG2]], a at dtprel@l
 ; OPT0-32-LABEL: main
-; OPT0-32:        addi 3, {{[0-9]+}}, a at got@tlsld
+; OPT0-32:        addi {{[0-9]+}}, {{[0-9]+}}, a at got@tlsld
 ; OPT0-32:        bl __tls_get_addr(a at tlsld)@PLT
 ; OPT0-32:        addis [[REG:[0-9]+]], 3, a at dtprel@ha
 ; OPT0-32-NEXT:   addi  {{[0-9]+}}, [[REG]], a at dtprel@l





More information about the llvm-commits mailing list