[Mlir-commits] [mlir] [mlir][llvm] support -new-struct-path-tbaa (PR #119698)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Feb 27 04:55:05 PST 2025


PikachuHyA wrote:

hi @gysit , thanks for your comments.

I've encountered a crash, so I need more time to troubleshoot the issue.


> With regards to the attribute names are they derived from LLVM? 

Regarding your question about the attribute names: they are derived from function names and class name in  [CodeGenTBAA.cpp](https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CodeGenTBAA.cpp)

the name of `TBAATypeNode` is from

- https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CodeGenTBAA.cpp#L62-L70
- https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CodeGenTBAA.cpp#L575-L580

the name of `TBAAAccessTag` is from

https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CodeGenTBAA.cpp#L636-L639

the name of `TBAAStructField` is from

https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CodeGenTBAA.cpp#L508-L513



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


More information about the Mlir-commits mailing list