mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Don't vectorize when the attribute NoImplicitFloat is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1557,6 +1557,11 @@ struct SLPVectorizer : public FunctionPass {
|
||||
if (!DL)
|
||||
return false;
|
||||
|
||||
// Don't vectorize when the attribute NoImplicitFloat is used.
|
||||
if (F.getAttributes().hasAttribute(AttributeSet::FunctionIndex,
|
||||
Attribute::NoImplicitFloat))
|
||||
return false;
|
||||
|
||||
DEBUG(dbgs() << "SLP: Analyzing blocks in " << F.getName() << ".\n");
|
||||
|
||||
// Use the bollom up slp vectorizer to construct chains that start with
|
||||
|
Reference in New Issue
Block a user