From bdf509aaaf82457f0cd618fe7b0fea3620b2a40a Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 22 Jun 2015 15:44:20 +0000 Subject: [PATCH] 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. llvm-svn: 240289 --- llvm/test/tools/gold/slp-vectorize.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/tools/gold/slp-vectorize.ll b/llvm/test/tools/gold/slp-vectorize.ll index a75f0b3..102f5fa 100644 --- a/llvm/test/tools/gold/slp-vectorize.ll +++ b/llvm/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.7.4