forked from OSchip/llvm-project
[LV] Remove FIXME about NoImplicitFloat. NFC
My understanding is that NoImplicitFloat, despite it's name, is supposed to disable all vectors not just float vectors. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D134084
This commit is contained in:
parent
449a7c2c47
commit
90a004b4a1
llvm/lib/Transforms/Vectorize
|
@ -10234,10 +10234,8 @@ bool LoopVectorizePass::processLoop(Loop *L) {
|
|||
}
|
||||
}
|
||||
|
||||
// Check the function attributes to see if implicit floats are allowed.
|
||||
// FIXME: This check doesn't seem possibly correct -- what if the loop is
|
||||
// an integer loop and the vector instructions selected are purely integer
|
||||
// vector instructions?
|
||||
// Check the function attributes to see if implicit floats or vectors are
|
||||
// allowed.
|
||||
if (F->hasFnAttribute(Attribute::NoImplicitFloat)) {
|
||||
reportVectorizationFailure(
|
||||
"Can't vectorize when the NoImplicitFloat attribute is used",
|
||||
|
|
Loading…
Reference in New Issue