[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:
Craig Topper 2022-09-19 09:45:27 -07:00
parent 449a7c2c47
commit 90a004b4a1
1 changed files with 2 additions and 4 deletions
llvm/lib/Transforms/Vectorize

View File

@ -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",