summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2017-05-22 07:49:16 +0000
committerAmaury Sechet <deadalnix@gmail.com>2017-05-22 07:49:16 +0000
commit89d733a505266a0c00c019faf8ab5cc438c71c05 (patch)
tree9efc54374f3d6c8584c66f151b5dc56e6012534c
parentd2f3a941e002085932dac5ab7a10147e06265e1e (diff)
downloadbcm5719-llvm-89d733a505266a0c00c019faf8ab5cc438c71c05.tar.gz
bcm5719-llvm-89d733a505266a0c00c019faf8ab5cc438c71c05.zip
Regenerate expected result for test constant-combines.ll . NFC
llvm-svn: 303533
-rw-r--r--llvm/test/CodeGen/X86/constant-combines.ll16
1 files changed, 11 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/constant-combines.ll b/llvm/test/CodeGen/X86/constant-combines.ll
index 5ea736e92c7..4f55814958f 100644
--- a/llvm/test/CodeGen/X86/constant-combines.ll
+++ b/llvm/test/CodeGen/X86/constant-combines.ll
@@ -1,3 +1,4 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s | FileCheck %s
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
@@ -11,13 +12,20 @@ define void @PR22524({ float, float }* %arg) {
; it folded it to a zero too late to legalize the zero store operation. If this
; ever starts forming a zero store instead of movss, the test case has stopped
; being useful.
-;
+;
; CHECK-LABEL: PR22524:
+; CHECK: # BB#0: # %entry
+; CHECK-NEXT: movl $0, 4(%rdi)
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: movd %eax, %xmm0
+; CHECK-NEXT: xorps %xmm1, %xmm1
+; CHECK-NEXT: mulss %xmm0, %xmm1
+; CHECK-NEXT: movl $0, (%rdi)
+; CHECK-NEXT: movss %xmm1, 4(%rdi)
+; CHECK-NEXT: retq
entry:
%0 = getelementptr inbounds { float, float }, { float, float }* %arg, i32 0, i32 1
store float 0.000000e+00, float* %0, align 4
-; CHECK: movl $0, 4(%rdi)
-
%1 = getelementptr inbounds { float, float }, { float, float }* %arg, i64 0, i32 0
%2 = bitcast float* %1 to i64*
%3 = load i64, i64* %2, align 8
@@ -28,8 +36,6 @@ entry:
%8 = fmul float %7, 0.000000e+00
%9 = bitcast float* %1 to i32*
store i32 %6, i32* %9, align 4
-; CHECK: movl $0, (%rdi)
store float %8, float* %0, align 4
-; CHECK: movss %{{.*}}, 4(%rdi)
ret void
}
OpenPOWER on IntegriCloud