Chris Lattner via llvm-dev
2021-May-27 04:17 UTC
[llvm-dev] [LLParser] Remove deplibs related defines and functions
On May 19, 2021, at 11:51 PM, Xuanda Yang via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > Hi folks! > > I plan to remove some outdated defines and functions related to deplibs in LLParser/LLLexer as the comment suggested they should be removed in 4.0 (e.g, see: https://github.com/llvm/llvm-project/blob/57ea5d4f48754b9b3470fceb197a56ed938ddc02/llvm/lib/AsmParser/LLParser.cpp#L465 <https://github.com/llvm/llvm-project/blob/57ea5d4f48754b9b3470fceb197a56ed938ddc02/llvm/lib/AsmParser/LLParser.cpp#L465>). > > The purposed change will delete several functions and you can take a look at https://reviews.llvm.org/D102763 <https://reviews.llvm.org/D102763>. The removal itself is pretty trivial, but as Saleem suggested in the review, it may have potential impact to any down-stream projects. So I am posting this here to make sure we have a good understanding on the impact before the actual removal.Seems ok to me, if it causes a problem for anyone the fix in the .ll file will be trivial. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210526/d93ba195/attachment.html>
Fangrui Song via llvm-dev
2021-May-27 06:38 UTC
[llvm-dev] [LLParser] Remove deplibs related defines and functions
On 2021-05-26, Chris Lattner via llvm-dev wrote:>On May 19, 2021, at 11:51 PM, Xuanda Yang via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Hi folks! >> >> I plan to remove some outdated defines and functions related to deplibs in LLParser/LLLexer as the comment suggested they should be removed in 4.0 (e.g, see: https://github.com/llvm/llvm-project/blob/57ea5d4f48754b9b3470fceb197a56ed938ddc02/llvm/lib/AsmParser/LLParser.cpp#L465 <https://github.com/llvm/llvm-project/blob/57ea5d4f48754b9b3470fceb197a56ed938ddc02/llvm/lib/AsmParser/LLParser.cpp#L465>). >> >> The purposed change will delete several functions and you can take a look at https://reviews.llvm.org/D102763 <https://reviews.llvm.org/D102763>. The removal itself is pretty trivial, but as Saleem suggested in the review, it may have potential impact to any down-stream projects. So I am posting this here to make sure we have a good understanding on the impact before the actual removal. > >Seems ok to me, if it causes a problem for anyone the fix in the .ll file will be trivial. > >-ChrisI tried this cleanup in 2020, but a point was raised that this can be used to read old bitcode files. See https://reviews.llvm.org/D73422