- VectorType::getBitWidth() is just an unsafe version of
getPrimitiveSizeInBits() that assumes all vectors are fixed width.
Paths
| Differential D77833
[SVE] Remove VectorType::getBitWidth() ClosedPublic Authored by ctetreau on Apr 9 2020, 3:08 PM.
Details Summary
getPrimitiveSizeInBits() that assumes all vectors are fixed width.
Diff Detail
Event TimelineComment Actions Makes sense.
This revision is now accepted and ready to land.Apr 10 2020, 10:39 AM ctetreau added a parent revision: D77896: [SVE] Remove calls to getBitWidth from Transforms.Apr 10 2020, 2:05 PM
Comment Actions
It's cleaned up in D77587 which I plan to merge right after this goes in Closed by commit rG8bec33c096bd: [SVE] Remove VectorType::getBitWidth() (authored by ctetreau). · Explain WhyApr 21 2020, 1:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 256421 llvm/include/llvm/IR/DerivedTypes.h
llvm/lib/IR/Type.cpp
|
This seems a little messy. Maybe separate the vector/vector case from the vector/mmx case?