[llvm] [FunctionAttrs] Add the "initializes" attribute inference (PR #97373)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 16:05:54 PDT 2024


================
@@ -12,7 +12,8 @@
 ; RUN: opt < %s -passes='memprof-use<profile-filename=%t.memprofdata>' -S | FileCheck %s
 
 ; CHECK: call {{.*}} @_Znam{{.*}} #[[ATTR:[0-9]+]]
-; CHECK: attributes #[[ATTR]] = { builtin allocsize(0) "memprof"="notcold" }
+; old: attributes #[[ATTR]] = { builtin allocsize(0) "memprof"="notcold" }
----------------
aeubanks wrote:

unintentional test change? (the opt command doesn't run function-attrs)

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


More information about the llvm-commits mailing list