[llvm] [FunctionAttrs] Switch readonly etc inference to use CaptureTracking (PR #201136)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 00:37:53 PDT 2026


================
@@ -480,7 +480,7 @@ define void @memcpy(ptr %p, ptr %p2) {
 define void @memcpy_volatile(ptr %p, ptr %p2) {
 ; CHECK: Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite)
 ; CHECK-LABEL: define void @memcpy_volatile(
-; CHECK-SAME: ptr writeonly [[P:%.*]], ptr readonly [[P2:%.*]]) #[[ATTR2]] {
----------------
nikic wrote:

Rebased over https://github.com/llvm/llvm-project/pull/201316, so these changes are gone now.

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


More information about the llvm-commits mailing list