mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Disable generation of pointer vectors by BBVectorize.
Once vector-of-pointer support works, then this can be reverted. llvm-svn: 166741
This commit is contained in:
parent
dec4761379
commit
a47e6ef6e6
@ -99,8 +99,9 @@ static cl::opt<bool>
|
||||
NoFloats("bb-vectorize-no-floats", cl::init(false), cl::Hidden,
|
||||
cl::desc("Don't try to vectorize floating-point values"));
|
||||
|
||||
// FIXME: This should default to false once pointer vector support works.
|
||||
static cl::opt<bool>
|
||||
NoPointers("bb-vectorize-no-pointers", cl::init(false), cl::Hidden,
|
||||
NoPointers("bb-vectorize-no-pointers", cl::init(/*false*/ true), cl::Hidden,
|
||||
cl::desc("Don't try to vectorize pointer values"));
|
||||
|
||||
static cl::opt<bool>
|
||||
|
@ -2,6 +2,9 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
|
||||
; RUN: opt < %s -bb-vectorize -bb-vectorize-req-chain-depth=3 -instcombine -gvn -S | FileCheck %s
|
||||
; RUN: opt < %s -bb-vectorize -bb-vectorize-req-chain-depth=3 -bb-vectorize-aligned-only -instcombine -gvn -S | FileCheck %s -check-prefix=CHECK-AO
|
||||
|
||||
; FIXME: re-enable this once pointer vectors work properly
|
||||
; XFAIL: *
|
||||
|
||||
; Simple 3-pair chain also with loads and stores (using ptrs and gep)
|
||||
define double @test1(i64* %a, i64* %b, i64* %c) nounwind uwtable readonly {
|
||||
entry:
|
||||
|
Loading…
Reference in New Issue
Block a user