diff options
-rw-r--r-- | llvm/test/CodeGen/X86/trunc-store.ll | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/trunc-store.ll b/llvm/test/CodeGen/X86/trunc-store.ll index 646b4b2c336..a241876ff41 100644 --- a/llvm/test/CodeGen/X86/trunc-store.ll +++ b/llvm/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 |