[llvm] [InstCombine] Propagate invariant.load metadata across unpacked loads (PR #152186)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 17 10:21:56 PDT 2025


dtcxzyw wrote:

> @dtcxzyw I am not able to write a good testcase for adjustOffset PR. I tried something like this: https://godbolt.org/z/x7eYdE8EY but the code change doesn't do anything. I think the adjustOffset API doesn't support new struct path tbaa!

https://github.com/llvm/llvm-project/blob/71925a90c8b713d8fccbfae496e10c68f80b932b/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp#L746-L763 It is not implemented :(


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


More information about the llvm-commits mailing list