aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tls2-pic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/tls2-pic.ll')
-rw-r--r--test/CodeGen/X86/tls2-pic.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/tls2-pic.ll b/test/CodeGen/X86/tls2-pic.ll
index cdfe97ca0b04..6ab3ee0a69fd 100644
--- a/test/CodeGen/X86/tls2-pic.ll
+++ b/test/CodeGen/X86/tls2-pic.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic > %t
-; RUN: grep {leal i@TLSGD(,%ebx,1), %eax} %t
+; RUN: grep {leal i@TLSGD(,%ebx), %eax} %t
; RUN: grep {call ___tls_get_addr@PLT} %t
; RUN: llvm-as < %s | llc -march=x86-64 -mtriple=x86_64-linux-gnu -relocation-model=pic > %t2
; RUN: grep {leaq i@TLSGD(%rip), %rdi} %t2
@@ -7,7 +7,7 @@
@i = thread_local global i32 15
-define i32* @f() {
+define i32* @f() nounwind {
entry:
ret i32* @i
}