From b5fb65d43e7b5988008260d3b2a1816cacd87557 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 23 Mar 2016 14:00:28 +0000 Subject: [PATCH] [X86] Regenerated WidenArith test llvm-svn: 264157 --- llvm/test/CodeGen/X86/WidenArith.ll | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/llvm/test/CodeGen/X86/WidenArith.ll b/llvm/test/CodeGen/X86/WidenArith.ll index f87b382..cc5fcba 100644 --- a/llvm/test/CodeGen/X86/WidenArith.ll +++ b/llvm/test/CodeGen/X86/WidenArith.ll @@ -1,15 +1,17 @@ -; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck %s +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+avx | FileCheck %s -;CHECK-LABEL: test: -;CHECK: vaddps -;CHECK: vmulps -;CHECK: vsubps -;CHECK: vcmpltps -;CHECK: vcmpltps -;CHECK: vandps -;CHECK: vandps -;CHECK: ret define <8 x i32> @test(<8 x float> %a, <8 x float> %b) { +; CHECK-LABEL: test: +; CHECK: ## BB#0: +; CHECK-NEXT: vaddps %ymm1, %ymm0, %ymm2 +; CHECK-NEXT: vmulps %ymm0, %ymm1, %ymm1 +; CHECK-NEXT: vsubps %ymm2, %ymm1, %ymm3 +; CHECK-NEXT: vcmpltps %ymm1, %ymm0, %ymm0 +; CHECK-NEXT: vcmpltps %ymm3, %ymm2, %ymm1 +; CHECK-NEXT: vandps %ymm1, %ymm0, %ymm0 +; CHECK-NEXT: vandps {{.*}}(%rip), %ymm0, %ymm0 +; CHECK-NEXT: retq %c1 = fadd <8 x float> %a, %b %b1 = fmul <8 x float> %b, %a %d = fsub <8 x float> %b1, %c1 -- 2.7.4