clangir icon indicating copy to clipboard operation
clangir copied to clipboard

[CIR][CIRGen][TBAA] Add support for TBAA

Open PikachuHyA opened this issue 1 year ago • 2 comments

This patch introduces support for TBAA, following the structure ofclang/lib/CodeGen/CodeGenTBAA.h. The key function implemented is CIRGenModule::decorateOperationWithTBAA, which works similarly to CodeGenModule::DecorateInstructionWithTBAA.

Note: Support for vtable pointer and tbaa.struct is not yet included.

For further details, please refer to:

PikachuHyA avatar Nov 07 '24 14:11 PikachuHyA

:white_check_mark: With the latest revision this PR passed the C/C++ code formatter.

github-actions[bot] avatar Nov 07 '24 14:11 github-actions[bot]

Thanks for continuing this work! I'd prefer if we start small, perhaps just scalars or whatever is smaller, I'd like to help you trim off unnecessary information we might not need, but the scope is still a bit bigger than necessary. Also please update the title to convey the incremental work happening.

Thank you for your suggestion. I prefer to submit the code in a new PR while keeping the current PR open until it's fully completed.

sent https://github.com/llvm/clangir/pull/1220

PikachuHyA avatar Dec 10 '24 10:12 PikachuHyA