{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":775781308,"defaultBranch":"main","name":"llvm-project","ownerLogin":"AIYoungcino","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-03-22T02:59:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/44832949?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1711076371.131941","currentOid":""},"activityList":{"items":[{"before":"4d7f28a2c4b187f0bef3877081100786156defc7","after":"84aa02d3fa1f1f614c4f3c144ec118b2f05ae6b0","ref":"refs/heads/main","pushedAt":"2024-08-23T06:16:19.000Z","pushType":"push","commitsCount":10000,"pusher":{"login":"AIYoungcino","name":"XuMingy","path":"/AIYoungcino","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/44832949?s=80&v=4"},"commit":{"message":"[memref] Handle edge case in subview of full static size fold (#105635)\n\nIt is possible to have a subview with a fully static size and a type\nthat matches the source type, but a dynamic offset that may be\ndifferent. However, currently the memref dialect folds:\n\n```mlir\nfunc.func @subview_of_static_full_size(\n %arg0: memref<16x4xf32, strided<[4, 1], offset: ?>>, %idx: index)\n -> memref<16x4xf32, strided<[4, 1], offset: ?>>\n{\n %0 = memref.subview %arg0[%idx, 0][16, 4][1, 1]\n : memref<16x4xf32, strided<[4, 1], offset: ?>>\n to memref<16x4xf32, strided<[4, 1], offset: ?>>\n return %0 : memref<16x4xf32, strided<[4, 1], offset: ?>>\n}\n```\n\nTo:\n\n```mlir\nfunc.func @subview_of_static_full_size(\n %arg0: memref<16x4xf32, strided<[4, 1], offset: ?>>, %arg1: index)\n -> memref<16x4xf32, strided<[4, 1], offset: ?>>\n{\n return %arg0 : memref<16x4xf32, strided<[4, 1], offset: ?>>\n}\n```\n\nWhich drops the dynamic offset from the `subview` op.","shortMessageHtmlLink":"[memref] Handle edge case in subview of full static size fold (llvm#1…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yM1QwNjoxNjoxOS4wMDAwMDBazwAAAASiBPWM","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yM1QwNjoxNjoxOS4wMDAwMDBazwAAAASiBPWM","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yM1QwNjoxNjoxOS4wMDAwMDBazwAAAASiBPWM"}},"title":"Activity · AIYoungcino/llvm-project"}