OSDN Git Service

Regenerate test result for testb-je-fusion.ll. NFC.
authorAmaury Sechet <deadalnix@gmail.com>
Sat, 27 Jan 2018 17:19:16 +0000 (17:19 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Sat, 27 Jan 2018 17:19:16 +0000 (17:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323595 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/testb-je-fusion.ll

index c085a42..9822ad3 100644 (file)
@@ -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