[llvm] 4078383 - [X86] Fix -DAG checks on gnux32 pic tests

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 03:02:26 PST 2020


Author: Simon Pilgrim
Date: 2020-11-26T11:01:17Z
New Revision: 40783839e63a602157665d7ae3d4c9eea8fe8c9f

URL: https://github.com/llvm/llvm-project/commit/40783839e63a602157665d7ae3d4c9eea8fe8c9f
DIFF: https://github.com/llvm/llvm-project/commit/40783839e63a602157665d7ae3d4c9eea8fe8c9f.diff

LOG: [X86] Fix -DAG checks on gnux32 pic tests

Differential Revision: https://reviews.llvm.org/D91339

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/pic.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/pic.ll b/llvm/test/CodeGen/X86/pic.ll
index 8cf0602c57a8..1de4ca0059d0 100644
--- a/llvm/test/CodeGen/X86/pic.ll
+++ b/llvm/test/CodeGen/X86/pic.ll
@@ -22,9 +22,9 @@ entry:
 ; 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 @@ entry:
 ; 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
 
 }


        


More information about the llvm-commits mailing list