Displaying 2 results from an estimated 2 matches for "upgradetbaanode".
2016 Nov 02
2
RFC: Drop support for old style scalar TBAA
In https://reviews.llvm.org/D26229 I've proposed dropping support for
old style scalar TBAA metadata.
Here is the proposed commit message:
"We've had support for auto upgrading old style scalar TBAA access
metadata into the "new" struct path aware TBAA metadata for 3 years now.
The only way to actually generate old style TBAA was explicitly through
the IRBuilder API. I
2016 Nov 08
2
RFC: Drop support for old style scalar TBAA
...ng step that would have auto-upgraded the IR. In this
> case, the quickest way to keep your frontend working with the new
> representation is to change
>
> I->setMetadata(LLVMContext::MD_tbaa, MD);
>
> to
>
> I->setMetadata(LLVMContext::MD_tbaa, llvm::UpgradeTBAANode(*MD));
>
> llvm::UpgradeTBAA is present on tip-of-tree. If your version of
> LLVM is too old to have that utility then copy/pasting it in from
> tip-of-tree into your code base should work fine.
>
> -- Sanjoy
>
> Sanjoy Das wrote:
> > In https://reviews.llvm....