[llvm] [GVN] Fix vtable processing of static object (PR #223456)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 03:09:25 PDT 2026


================

----------------
nikic wrote:

I believe the correct fix is to change this `isa<GlobalValue>` to be `isa<Constant>` instead. It currently lets through constant expressions of globals, which is obviously not what was intended.

https://github.com/llvm/llvm-project/pull/223456


More information about the llvm-commits mailing list