This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 39852 Build 39903: arc lint + arc unit
Event Timeline
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | ||
---|---|---|
5831 | Maybe you can create new API: |
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | ||
---|---|---|
5831 | Thx for the notice @xbolva00. This code is just here for the transition and it will disappear once the TTI.getXXXCost functions take MaybeAlign instead of unsigned. |
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | ||
---|---|---|
5831 | Yeah, you are right. |
Maybe you can create new API:
Alignment->valueOrZero()?