[llvm] [MemoryBuiltins] Cache the result of ObjectOffsetSizeVisitor::visit. #64796 (PR #65326)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 22:13:29 PDT 2023


================
@@ -61,3 +61,59 @@ if.end:
   %size = call i64 @llvm.objectsize.i64.p0(ptr %p, i1 true, i1 true, i1 false)
   ret i64 %size
 }
+
+define dso_local i64 @pick_max_same(i32 noundef %n) local_unnamed_addr {
----------------
nikic wrote:

Drop dso_local, noundef, local_unnamed_addr, they should not be relevant.

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


More information about the llvm-commits mailing list