[llvm] r347167 - [x86] regenerate full checks; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 18 08:56:17 PST 2018
Author: spatel
Date: Sun Nov 18 08:56:17 2018
New Revision: 347167
URL: http://llvm.org/viewvc/llvm-project?rev=347167&view=rev
Log:
[x86] regenerate full checks; NFC
Modified:
llvm/trunk/test/CodeGen/X86/zext-extract_subreg.ll
Modified: llvm/trunk/test/CodeGen/X86/zext-extract_subreg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/zext-extract_subreg.ll?rev=347167&r1=347166&r2=347167&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/zext-extract_subreg.ll (original)
+++ llvm/trunk/test/CodeGen/X86/zext-extract_subreg.ll Sun Nov 18 08:56:17 2018
@@ -1,7 +1,33 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
define void @t() nounwind ssp {
; CHECK-LABEL: t:
+; CHECK: ## %bb.0: ## %entry
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: testb %al, %al
+; CHECK-NEXT: jne LBB0_6
+; CHECK-NEXT: ## %bb.1: ## %if.end.i
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: testb %al, %al
+; CHECK-NEXT: je LBB0_2
+; CHECK-NEXT: LBB0_6: ## %return
+; CHECK-NEXT: retq
+; CHECK-NEXT: LBB0_2: ## %if.end
+; CHECK-NEXT: movl (%rax), %eax
+; CHECK-NEXT: testl %eax, %eax
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: testb %al, %al
+; CHECK-NEXT: jne LBB0_5
+; CHECK-NEXT: ## %bb.3: ## %cond.true190
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: testb %al, %al
+; CHECK-NEXT: jne LBB0_5
+; CHECK-NEXT: ## %bb.4: ## %cond.true225
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: testb %al, %al
+; CHECK-NEXT: LBB0_5: ## %cond.false205
+; CHECK-NEXT: ud2
entry:
br i1 undef, label %return, label %if.end.i
@@ -10,11 +36,6 @@ if.end.i:
br i1 undef, label %return, label %if.end
if.end: ; preds = %if.end.i
-; CHECK: %if.end
-; CHECK: movl (%{{.*}}), [[REG:%[a-z]+]]
-; CHECK-NOT: movl [[REG]], [[REG]]
-; CHECK-NEXT: testl [[REG]], [[REG]]
-; CHECK-NEXT: xorl
%tmp138 = select i1 undef, i32 0, i32 %tmp7.i
%tmp867 = zext i32 %tmp138 to i64
br label %while.cond
More information about the llvm-commits
mailing list