Add cl::ZeroOrMore to get around build system issues
authorAK <1894981+hiraditya@users.noreply.github.com>
Sun, 7 Jun 2020 17:14:22 +0000 (10:14 -0700)
committerAK <1894981+hiraditya@users.noreply.github.com>
Sun, 7 Jun 2020 17:15:18 +0000 (10:15 -0700)
commit96458fc510d87546cdaf72457a2f61a25187fdfd
treeac8b3695138355409eda262fd6c05f23aa70d7d3
parentc3f5ceefb8d1e6f7041a1af87e110ad4185c894a
Add cl::ZeroOrMore to get around build system issues

It is quite common to get multiple instances of optimization flags while building.
The following optimizations does not have cl::ZeroOrMore which causes errors during the build.

Reviewers: alexbdv,spop

Differential Revision: https://reviews.llvm.org/D81187
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp