[llvm] r228742 - Fix overly prescriptive test that broken on Mac after r228725.
Daniel Jasper
djasper at google.com
Tue Feb 10 12:49:06 PST 2015
Author: djasper
Date: Tue Feb 10 14:49:05 2015
New Revision: 228742
URL: http://llvm.org/viewvc/llvm-project?rev=228742&view=rev
Log:
Fix overly prescriptive test that broken on Mac after r228725.
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=228742&r1=228741&r2=228742&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll Tue Feb 10 14:49:05 2015
@@ -19,32 +19,32 @@ entry:
; OPT0-LABEL: main:
; OPT0: addis [[REG:[0-9]+]], 2, a at got@tlsld at ha
-; OPT0-NEXT: addi 3, [[REG]], a at got@tlsld at l
+; OPT0: addi 3, [[REG]], a at got@tlsld at l
; OPT0: bl __tls_get_addr(a at tlsld)
; OPT0-NEXT: nop
; OPT0: addis [[REG2:[0-9]+]], 3, a at dtprel@ha
-; OPT0-NEXT: addi {{[0-9]+}}, [[REG2]], a at dtprel@l
+; OPT0: addi {{[0-9]+}}, [[REG2]], a at dtprel@l
; OPT0-32-LABEL: main
; 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
+; OPT0-32: addi {{[0-9]+}}, [[REG]], a at dtprel@l
; OPT1-32-LABEL: main
; OPT1-32: addi 3, {{[0-9]+}}, a at got@tlsld
; OPT1-32: bl __tls_get_addr(a at tlsld)@PLT
; OPT1-32: addis [[REG:[0-9]+]], 3, a at dtprel@ha
-; OPT1-32-NEXT: addi {{[0-9]+}}, [[REG]], a at dtprel@l
+; OPT1-32: addi {{[0-9]+}}, [[REG]], a at dtprel@l
; Test peephole optimization for thread-local storage using the
; local dynamic model.
; OPT1-LABEL: main:
; OPT1: addis [[REG:[0-9]+]], 2, a at got@tlsld at ha
-; OPT1-NEXT: addi 3, [[REG]], a at got@tlsld at l
+; OPT1: addi 3, [[REG]], a at got@tlsld at l
; OPT1: bl __tls_get_addr(a at tlsld)
; OPT1-NEXT: nop
; OPT1: addis [[REG2:[0-9]+]], 3, a at dtprel@ha
-; OPT1-NEXT: lwa {{[0-9]+}}, a at dtprel@l([[REG2]])
+; OPT1: lwa {{[0-9]+}}, a at dtprel@l([[REG2]])
; Test correct assembly code generation for thread-local storage using
; the general dynamic model.
@@ -60,8 +60,8 @@ entry:
}
; OPT1-LABEL: main2
-; OPT1: addis [[REG:[0-9]+]], 2, a2 at got@tlsgd at ha
-; OPT1-NEXT: addi 3, [[REG]], a2 at got@tlsgd at l
+; OPT1: addis [[REG:[0-9]+]], 2, a2 at got@tlsgd at ha
+; OPT1: addi 3, [[REG]], a2 at got@tlsgd at l
; OPT1: bl __tls_get_addr(a2 at tlsgd)
; OPT1-NEXT: nop
; OPT1-32-LABEL: main2
More information about the llvm-commits
mailing list