[llvm] r298044 - [X86] Use update_llc_test_checks.py to regenerate a test.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 22:59:57 PDT 2017


Author: ctopper
Date: Fri Mar 17 00:59:57 2017
New Revision: 298044

URL: http://llvm.org/viewvc/llvm-project?rev=298044&view=rev
Log:
[X86] Use update_llc_test_checks.py to regenerate a test.

Modified:
    llvm/trunk/test/CodeGen/X86/fast-isel-load-i1.ll

Modified: llvm/trunk/test/CodeGen/X86/fast-isel-load-i1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fast-isel-load-i1.ll?rev=298044&r1=298043&r2=298044&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fast-isel-load-i1.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fast-isel-load-i1.ll Fri Mar 17 00:59:57 2017
@@ -1,9 +1,17 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: llc < %s -fast-isel -mtriple=x86_64-unknown-linux-gnu -mattr=+avx512f  | FileCheck %s
 
 define i1 @test_i1(i1* %b) {
 ; CHECK-LABEL: test_i1:
 ; CHECK:       # BB#0: # %entry
 ; CHECK-NEXT:    testb $1, (%rdi)
+; CHECK-NEXT:    je .LBB0_2
+; CHECK-NEXT:  # BB#1: # %in
+; CHECK-NEXT:    xorl %eax, %eax
+; CHECK-NEXT:    retq
+; CHECK-NEXT:  .LBB0_2: # %out
+; CHECK-NEXT:    movb $1, %al
+; CHECK-NEXT:    retq
 entry:
   %0 = load i1, i1* %b, align 1
   br i1 %0, label %in, label %out




More information about the llvm-commits mailing list