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
This commit is contained in:
Rafael Espindola 2015-06-22 15:44:20 +00:00
parent c29284e6c3
commit 0ed63077a2

View File

@ -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