[PATCH] D152145: [InstSimplify] Fold all global variables with initializers

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 09:52:56 PDT 2023


nikic 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
----------------
For this test and the one below, can you please set min=true? Then one should return 8 the other -1, I believe.


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