[PATCH] D128999: [CGSCC] Don't count calls to intrinsic functions in finding potential deviritualizations.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 14:09:00 PDT 2022


nikic added reviewers: nikic, aeubanks.
nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

I think the general idea behind this change makes sense. However, we should be treating all intrinsics the same way here (by skipping them), and not special-case assume-like and dbg intrinsics. Intrinsics generally cannot be called indirectly (this is enforced by the IR verifier), so they are irrelevant for the purposes of devirtualization.


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

https://reviews.llvm.org/D128999



More information about the llvm-commits mailing list