Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
- Updated LIT test with more detailed CHECKs.
The main difference between this and "fadd_strict" is the presence of
a store (to the invariant destination) in the middle.block
@igor.kirillov do you remember why this was restriction was added originally?
| llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp | ||
|---|---|---|
| 1020 | this comment needs updating | |
I don't remember actually. I know that it didn't work properly half a year ago but it does work now.
LGTM! From private discussions I also understand you've run the LLVM test suite using scalable vectorisation on SVE hardware and all tests passed. Can you address my test comment before merging please?
| llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll | ||
|---|---|---|
| 1371 | I think this should be something like store float %[[RDX]], float* %[[DEST_PTR]] because otherwise the tests might break if the numbering changes in future. | |
| llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll | ||
|---|---|---|
| 1371 | good spot, somehow I seem to have missed it. | |
this comment needs updating