[LLVMbugs] [Bug 11997] New: BB vectorizer does not use TLI (target lowering information)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Feb 13 14:18:38 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11997
Bug #: 11997
Summary: BB vectorizer does not use TLI (target lowering
information)
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: spop at codeaurora.org
CC: hfinkel at anl.gov, llvmbugs at cs.uiuc.edu
Classification: Unclassified
The BB vectorizer should be instantiated with the target information in a
similar way to LSR (loop strength reduction): LSR is using the target lowering
information to extract information about the existing addressing modes of the
target architecture: here is for instance the constructor of LSR:
LoopStrengthReduce::LoopStrengthReduce(const TargetLowering *tli)
The vectorizer should infer the vectorization factor from TLI, not from the
flag:
static cl::opt<unsigned>
VectorBits("bb-vectorize-vector-bits", cl::init(128), cl::Hidden,
cl::desc("The size of the native vector registers"));
TLI has to be used to determine which vector types are supported by the target:
for example, some targets do not support float vectors.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list