Further revise too-restrictive test CodeGen/PowerPC/tls-pic.ll
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 3 Feb 2015 16:29:52 +0000 (16:29 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 3 Feb 2015 16:29:52 +0000 (16:29 +0000)
llvm-svn: 227978

llvm/test/CodeGen/PowerPC/tls-pic.ll

index 2a5babe..ed8b981 100644 (file)
@@ -30,7 +30,7 @@ entry:
 ; OPT0-32:        addis [[REG:[0-9]+]], 3, a@dtprel@ha
 ; OPT0-32:        addi  {{[0-9]+}}, [[REG]], a@dtprel@l
 ; OPT1-32-LABEL: main
-; OPT1-32:        addi 3, {{[0-9]+}}, a@got@tlsld
+; OPT1-32:        addi {{[0-9]+}}, {{[0-9]+}}, a@got@tlsld
 ; OPT1-32:        bl __tls_get_addr(a@tlsld)@PLT
 ; OPT1-32:        addis [[REG:[0-9]+]], 3, a@dtprel@ha
 ; OPT1-32:        addi  {{[0-9]+}}, [[REG]], a@dtprel@l