From fa79defc962df5886c096b8d3224799746b5d6b5 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 4 Sep 2016 17:50:03 +0000 Subject: [PATCH] [X86] Regenerate trunc-store legalization test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280631 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/trunc-store.ll | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/X86/trunc-store.ll b/test/CodeGen/X86/trunc-store.ll index 646b4b2c336..a241876ff41 100644 --- a/test/CodeGen/X86/trunc-store.ll +++ b/test/CodeGen/X86/trunc-store.ll @@ -1,4 +1,5 @@ -; RUN: llc < %s -march=x86-64 | FileCheck %s +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s ; With optimization at O2 we actually get the legalized function optimized ; away through legalization and stack coloring, but check that we do all of @@ -26,9 +27,16 @@ ; } define void @fn1() { -; CHECK-LABEL: fn1 -; CHECK: movb $0, {{.*}}(%rsp) -; CHECK: cmpq $8, %rax +; CHECK-LABEL: fn1: +; CHECK: # BB#0: # %for.cond +; CHECK-NEXT: .p2align 4, 0x90 +; CHECK-NEXT: .LBB0_1: # %vector.body +; CHECK-NEXT: # =>This Inner Loop Header: Depth=1 +; CHECK-NEXT: movb $0, -{{[0-9]+}}(%rsp) +; CHECK-NEXT: cmpq $8, %rax +; CHECK-NEXT: jne .LBB0_1 +; CHECK-NEXT: # BB#2: # %middle.block +; CHECK-NEXT: retq for.cond: br label %vector.body -- 2.11.0