[PATCH] D152145: [InstSimplify] Fold all global variables with initializers
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 10:01:22 PDT 2023
gandhi21299 added inline comments.
================
Comment at: llvm/test/Transforms/LowerConstantIntrinsics/objectsize_basic.ll:174
+;
+ %size = call i32 @llvm.objectsize.i32.p0(ptr @gv_extern, i1 false, i1 false, i1 false)
+ ret i32 %size
----------------
nikic wrote:
> For this test and the one below, can you please set min=true? Then one should return 8 the other -1, I believe.
The last test returns -1 with min=false and nullunknown=true.
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