summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2018-01-27 17:19:16 +0000
committerAmaury Sechet <deadalnix@gmail.com>2018-01-27 17:19:16 +0000
commit0510b0f3d0e6ce840c13a7d2dea187fff5107dc4 (patch)
tree019011becfb2ed2f92879871f226e737f05d65ef
parentfb10aff542f67a0717e2d3185fb600aba20e06c7 (diff)
downloadbcm5719-llvm-0510b0f3d0e6ce840c13a7d2dea187fff5107dc4.tar.gz
bcm5719-llvm-0510b0f3d0e6ce840c13a7d2dea187fff5107dc4.zip
Regenerate test result for testb-je-fusion.ll. NFC.
llvm-svn: 323595
-rw-r--r--llvm/test/CodeGen/X86/testb-je-fusion.ll14
1 files changed, 11 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/testb-je-fusion.ll b/llvm/test/CodeGen/X86/testb-je-fusion.ll
index c085a422295..9822ad3941d 100644
--- a/llvm/test/CodeGen/X86/testb-je-fusion.ll
+++ b/llvm/test/CodeGen/X86/testb-je-fusion.ll
@@ -1,11 +1,19 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7-avx | FileCheck %s
; testb should be scheduled right before je to enable macro-fusion.
-; CHECK: testb $2, %{{[abcd]}}h
-; CHECK-NEXT: je
-
define i32 @check_flag(i32 %flags, ...) nounwind {
+; CHECK-LABEL: check_flag:
+; CHECK: # %bb.0: # %entry
+; CHECK-NEXT: movl %edi, %ecx
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: testb $2, %ch
+; CHECK-NEXT: je .LBB0_2
+; CHECK-NEXT: # %bb.1: # %if.then
+; CHECK-NEXT: movl $1, %eax
+; CHECK-NEXT: .LBB0_2: # %if.end
+; CHECK-NEXT: retq
entry:
%and = and i32 %flags, 512
%tobool = icmp eq i32 %and, 0
OpenPOWER on IntegriCloud