Fix test/CodeGen/X86/tls-pie.ll.
authorHans Wennborg <hans@hanshq.net>
Fri, 11 May 2012 10:19:54 +0000 (10:19 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 11 May 2012 10:19:54 +0000 (10:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156612 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/tls-pie.ll

index 374cd36ed3ea8f695ecfd2cbd6aea64832dda711..5cb3866f71c44c7462f22a59b3c3737468e9a266 100644 (file)
@@ -40,7 +40,7 @@ define i32 @f3() {
 ; X32-NEXT: popl %eax
 ; X32-NEXT: .Ltmp{{[0-9]+}}:
 ; X32-NEXT: addl $_GLOBAL_OFFSET_TABLE_+(.Ltmp{{[0-9]+}}-.L{{[0-9]+}}$pb), %eax
-; X32-NEXT: leal %gs:i2@GOTNTPOFF(%eax), %eax
+; X32-NEXT: movl %gs:i2@GOTNTPOFF(%eax), %eax
 ; X32-NEXT: ret
 ; X64: f3:
 ; X64:      movq i2@GOTTPOFF(%rip), %rax