[llvm-dev] [RFC] Enabling opt's -enable-new-pm by default with ENABLE_NEW_EXPERIMENTAL_PASS_MANAGER

Arthur Eubanks via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 22 09:25:14 PST 2021


> > One issue is that until we enable the new PM by default, testing locally
> may not show issues that pop up until a bot with
> ENABLE_NEW_EXPERIMENTAL_PASS_MANAGER on complains after committing, since
> basically everybody has ENABLE_NEW_EXPERIMENTAL_PASS_MANAGER off locally.
> Hopefully the amount of time between conditionally turning on opt's
> -enable-new-pm and turning on the new PM by default everywhere is fairly
> small and this won't be too big of an issue. I haven't seen this
> discrepancy appear too often when looking at existing passing tests failing
> when -enable-new-pm is turned on.
>
> I think that’s fine, the same issue exists for a lot of different options.
> IIUC to reproduce a failure, it should be enough to pass `-enable-new-pm`
> to the failing test locally?
>
Yup just add `-enable-new-pm` to the opt invocation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210122/6be06933/attachment.html>


More information about the llvm-dev mailing list