[PATCH] D91339: [X86] Include %rip for 32-bit RIP-relative relocs for x32
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 26 03:02:41 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG40783839e63a: [X86] Fix -DAG checks on gnux32 pic tests (authored by RKSimon).
Changed prior to commit:
https://reviews.llvm.org/D91339?vs=306853&id=307808#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91339/new/
https://reviews.llvm.org/D91339
Files:
llvm/test/CodeGen/X86/pic.ll
Index: llvm/test/CodeGen/X86/pic.ll
===================================================================
--- llvm/test/CodeGen/X86/pic.ll
+++ llvm/test/CodeGen/X86/pic.ll
@@ -22,9 +22,9 @@
; CHECK-I686: movl ptr at GOT(%eax),
; CHECK-I686: movl src at GOT(%eax),
; CHECK-I686: ret
-; CHECK-DAG-X32: movl dst at GOTPCREL(%rip),
-; CHECK-DAG-X32: movl ptr at GOTPCREL(%rip),
-; CHECK-DAG-X32: movl src at GOTPCREL(%rip),
+; CHECK-X32-DAG: movl dst at GOTPCREL(%rip),
+; CHECK-X32-DAG: movl ptr at GOTPCREL(%rip),
+; CHECK-X32-DAG: movl src at GOTPCREL(%rip),
; CHECK-X32: retq
}
@@ -48,9 +48,9 @@
; CHECK-I686: movl ptr2 at GOT(%eax),
; CHECK-I686: movl src2 at GOT(%eax),
; CHECK-I686: ret
-; CHECK-DAG-X32: movl dst2 at GOTPCREL(%rip),
-; CHECK-DAG-X32: movl ptr2 at GOTPCREL(%rip),
-; CHECK-DAG-X32: movl src2 at GOTPCREL(%rip),
+; CHECK-X32-DAG: movl dst2 at GOTPCREL(%rip),
+; CHECK-X32-DAG: movl ptr2 at GOTPCREL(%rip),
+; CHECK-X32-DAG: movl src2 at GOTPCREL(%rip),
; CHECK-X32: retq
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91339.307808.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201126/06a1336c/attachment.bin>
More information about the llvm-commits
mailing list