http://llvm.org/bugs/show_bug.cgi?id=17741
Bug ID: 17741
Summary: SLP vectorizer strips metadata
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 11451
--> http://llvm.org/bugs/attachment.cgi?id=11451&action=edit
IR file (derived from test/Transforms/SLPVectorizer/X86/simplebb.ll)
The SLP vectorizer strips, instead of merging, metadata (fpmath, tbaa, etc.).
The attached test case demonstrates the problem (in this case, the
corresponding metadata should appear on the created vector instructions).
The correct way to merge metadata in demonstrated in
lib/Transforms/Vectorize/BBVectorize.cpp (see the BBVectorize::combineMetadata
function), and, similarly, in GVN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs