[llvm] r323595 - Regenerate test result for testb-je-fusion.ll. NFC.
Amaury Sechet via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 27 09:19:16 PST 2018
Author: deadalnix
Date: Sat Jan 27 09:19:16 2018
New Revision: 323595
URL: http://llvm.org/viewvc/llvm-project?rev=323595&view=rev
Log:
Regenerate test result for testb-je-fusion.ll. NFC.
Modified:
llvm/trunk/test/CodeGen/X86/testb-je-fusion.ll
Modified: llvm/trunk/test/CodeGen/X86/testb-je-fusion.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/testb-je-fusion.ll?rev=323595&r1=323594&r2=323595&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/testb-je-fusion.ll (original)
+++ llvm/trunk/test/CodeGen/X86/testb-je-fusion.ll Sat Jan 27 09:19:16 2018
@@ -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
More information about the llvm-commits
mailing list