[PATCH] D93838: [SCCP] Add Function Specialization pass

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 08:33:32 PDT 2021


SjoerdMeijer added a comment.

In D93838#2716512 <https://reviews.llvm.org/D93838#2716512>, @xbolva00 wrote:

> Does this also handle bool propagation case like
>
> myfn(dst, src, flags, isEnabled);
>
> to
>
> if (isEnabled)
> myfn_true(dst, src, flags);
> else
> myfn_false(dst, src, flags);
>
> ?

Nope, not yet I am afraid. But agreed that this would be nice!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93838/new/

https://reviews.llvm.org/D93838



More information about the llvm-commits mailing list