[X86] Fix -DAG checks on gnux32 pic tests

Differential Revision: https://reviews.llvm.org/D91339
This commit is contained in:
Simon Pilgrim 2020-11-26 11:01:03 +00:00
parent f690986f31
commit 40783839e6
1 changed files with 6 additions and 6 deletions

View File

@ -22,9 +22,9 @@ entry:
; CHECK-I686: movl ptr@GOT(%eax),
; CHECK-I686: movl src@GOT(%eax),
; CHECK-I686: ret
; CHECK-DAG-X32: movl dst@GOTPCREL(%rip),
; CHECK-DAG-X32: movl ptr@GOTPCREL(%rip),
; CHECK-DAG-X32: movl src@GOTPCREL(%rip),
; CHECK-X32-DAG: movl dst@GOTPCREL(%rip),
; CHECK-X32-DAG: movl ptr@GOTPCREL(%rip),
; CHECK-X32-DAG: movl src@GOTPCREL(%rip),
; CHECK-X32: retq
}
@ -48,9 +48,9 @@ entry:
; CHECK-I686: movl ptr2@GOT(%eax),
; CHECK-I686: movl src2@GOT(%eax),
; CHECK-I686: ret
; CHECK-DAG-X32: movl dst2@GOTPCREL(%rip),
; CHECK-DAG-X32: movl ptr2@GOTPCREL(%rip),
; CHECK-DAG-X32: movl src2@GOTPCREL(%rip),
; CHECK-X32-DAG: movl dst2@GOTPCREL(%rip),
; CHECK-X32-DAG: movl ptr2@GOTPCREL(%rip),
; CHECK-X32-DAG: movl src2@GOTPCREL(%rip),
; CHECK-X32: retq
}