[PATCH] D152145: [InstSimplify] Fold all global variables with initializers
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 06:25:28 PDT 2023
nikic added a comment.
llvm.objectsize lowering depends a lot on the parameters and the used pass. Which did you use?
I'd expect that llvm.objectsize with min=true, dynamic=false in InstCombine will not fold on an interposable global due to the Min restriction, but the same call in LowerConstantIntrinsics will fold. With min=false neither should fold.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152145/new/
https://reviews.llvm.org/D152145
More information about the llvm-commits
mailing list