[llvm] r240289 - Add a triple to the test to fix it on some hosts.
Rafael Espindola
rafael.espindola at gmail.com
Mon Jun 22 08:44:20 PDT 2015
Author: rafael
Date: Mon Jun 22 10:44:20 2015
New Revision: 240289
URL: http://llvm.org/viewvc/llvm-project?rev=240289&view=rev
Log:
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.
Modified:
llvm/trunk/test/tools/gold/slp-vectorize.ll
Modified: llvm/trunk/test/tools/gold/slp-vectorize.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/slp-vectorize.ll?rev=240289&r1=240288&r2=240289&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/slp-vectorize.ll (original)
+++ llvm/trunk/test/tools/gold/slp-vectorize.ll Mon Jun 22 10:44:20 2015
@@ -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
More information about the llvm-commits
mailing list