[llvm-branch-commits] [llvm] fc6677f - [Test Commit] This is a test commit for https://reviews.llvm.org/D94904

2021-01-22 Thread Arun R via llvm-branch-commits

Author: Arun R
Date: 2021-01-20T15:21:34+05:30
New Revision: fc6677f0bbaf8a4654ef138fc6b0411c75a7313f

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

LOG: [Test Commit] This is a test commit for https://reviews.llvm.org/D94904

D94904 Reviewed by xbolva00

Reviewers for D94904: llvm-commits, MatzeB, craig.topper, kparzysz, efriedma, 
pengfei, wxiao3, xbolva00

Subscribers for D94904: llvm-commits, xbolva00

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

Added: 


Modified: 
llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll

Removed: 




diff  --git a/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll 
b/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll
index de5744d3a88f..7f6c4db49490 100644
--- a/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll
+++ b/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic 
-post-RA-scheduler=1 -break-anti-dependencies=critical  | FileCheck %s
 
-; PR20308 ( http://llvm.org/bugs/show_bug.cgi?id=20308 )
+; PR20308 ( http://llvm.org/bugs/show_bug.cgi?id=20308 ).
 ; The critical-anti-dependency-breaker must not use register def information 
from a kill inst.
 ; This test case expects such an instruction to appear as a comment with def 
info for RDI.
 ; There is an anti-dependency (WAR) hazard using RAX using default reg 
allocation and scheduling.



___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm] 29aaae2 - [PostRASched] Regenerate Whole Test with update_llc_test_checks.py

2021-01-22 Thread Arun R via llvm-branch-commits

Author: Arun R
Date: 2021-01-20T16:30:39+05:30
New Revision: 29aaae281403c3ab26a4e87fe37a69e1b810e0f2

URL: 
https://github.com/llvm/llvm-project/commit/29aaae281403c3ab26a4e87fe37a69e1b810e0f2
DIFF: 
https://github.com/llvm/llvm-project/commit/29aaae281403c3ab26a4e87fe37a69e1b810e0f2.diff

LOG: [PostRASched] Regenerate Whole Test with update_llc_test_checks.py

Reviewed by xbolva00

Reviewers: llvm-commits, MatzeB, craig.topper, kparzysz, efriedma, pengfei, 
wxiao3, xbolva00

Subscribers: llvm-commits, xbolva00

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

Added: 


Modified: 
llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll

Removed: 




diff  --git a/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll 
b/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll
index 7f6c4db49490..6daee0ce4f8d 100644
--- a/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll
+++ b/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll
@@ -1,3 +1,4 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic 
-post-RA-scheduler=1 -break-anti-dependencies=critical  | FileCheck %s
 
 ; PR20308 ( http://llvm.org/bugs/show_bug.cgi?id=20308 ).
@@ -10,9 +11,39 @@
 @PartClass = external global i32
 @NullToken = external global i64
 
-; CHECK-LABEL: Part_Create:
-; CHECK: movq PartClass@GOTPCREL(%rip), %r10
 define i32 @Part_Create(i64* %Anchor, i32 %TypeNum, i32 %F, i32 %Z, i32* 
%Status, i64* %PartTkn) {
+; CHECK-LABEL: Part_Create:
+; CHECK:   # %bb.0:
+; CHECK-NEXT:pushq %rbp
+; CHECK-NEXT:.cfi_def_cfa_offset 16
+; CHECK-NEXT:pushq %rbx
+; CHECK-NEXT:.cfi_def_cfa_offset 24
+; CHECK-NEXT:subq $24, %rsp
+; CHECK-NEXT:.cfi_def_cfa_offset 48
+; CHECK-NEXT:.cfi_offset %rbx, -24
+; CHECK-NEXT:.cfi_offset %rbp, -16
+; CHECK-NEXT:movq NullToken@{{.*}}(%rip), %rax
+; CHECK-NEXT:movq PartClass@{{.*}}(%rip), %r10
+; CHECK-NEXT:xorl %edx, %edx
+; CHECK-NEXT:xorl %ecx, %ecx
+; CHECK-NEXT:movq %rdi, %rbx
+; CHECK-NEXT:movq (%rax), %rax
+; CHECK-NEXT:movl (%r10), %ebp
+; CHECK-NEXT:movq %rax, {{[0-9]+}}(%rsp)
+; CHECK-NEXT:leaq {{[0-9]+}}(%rsp), %rax
+; CHECK-NEXT:movl %ebp, %esi
+; CHECK-NEXT:movq %rax, (%rsp)
+; CHECK-NEXT:callq Image@PLT
+; CHECK-NEXT:movq %rbx, %rdi
+; CHECK-NEXT:callq Create@PLT
+; CHECK-NEXT:movl %ebp, %eax
+; CHECK-NEXT:addq $24, %rsp
+; CHECK-NEXT:.cfi_def_cfa_offset 24
+; CHECK-NEXT:popq %rbx
+; CHECK-NEXT:.cfi_def_cfa_offset 16
+; CHECK-NEXT:popq %rbp
+; CHECK-NEXT:.cfi_def_cfa_offset 8
+; CHECK-NEXT:retq
   %PartObj = alloca i64*, align 8
   %Vchunk = alloca i64, align 8
   %1 = load i64, i64* @NullToken, align 4



___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits