From 0ed63077a22dc1e766fcd5ce429f146310c33038 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 22 Jun 2015 15:44:20 +0000 Subject: [PATCH 1/1] Add a triple to the test to fix it on some hosts. The slp vectorizer doesn't optimize this case in 32 bits. Fixes PR23453. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240289 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/gold/slp-vectorize.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools/gold/slp-vectorize.ll b/test/tools/gold/slp-vectorize.ll index a75f0b38cc1..102f5fa4f65 100644 --- a/test/tools/gold/slp-vectorize.ll +++ b/test/tools/gold/slp-vectorize.ll @@ -8,7 +8,7 @@ ; test that the vectorizer is run. ; CHECK: fadd <4 x float> -target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" define void @f(float* nocapture %x) { %tmp = load float, float* %x, align 4 -- 2.34.1