From 86a3cdff6b80946aaaa6a3c6298ee0f5b481c385 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Wed, 12 Nov 2014 16:50:15 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221793 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/tls-pic.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/PowerPC/tls-pic.ll b/test/CodeGen/PowerPC/tls-pic.ll index 35617363135..9ba372591e6 100644 --- a/test/CodeGen/PowerPC/tls-pic.ll +++ b/test/CodeGen/PowerPC/tls-pic.ll @@ -25,7 +25,7 @@ entry: ; OPT0: addis [[REG2:[0-9]+]], 3, a@dtprel@ha ; OPT0-NEXT: addi {{[0-9]+}}, [[REG2]], a@dtprel@l ; OPT0-32-LABEL: main -; OPT0-32: addi 3, {{[0-9]+}}, a@got@tlsld +; OPT0-32: addi {{[0-9]+}}, {{[0-9]+}}, a@got@tlsld ; OPT0-32: bl __tls_get_addr(a@tlsld)@PLT ; OPT0-32: addis [[REG:[0-9]+]], 3, a@dtprel@ha ; OPT0-32-NEXT: addi {{[0-9]+}}, [[REG]], a@dtprel@l