[clang] [TBAA] Emit int TBAA metadata on FP math libcalls (PR #96025)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 21:01:13 PDT 2024


vfdff wrote:

It report error **Access tag metadata must have either 4 or 5 operands** with CGM.getTBAATypeInfo(Context.IntTy)
```
p MDHelper.createTBAAScalarTypeNode("int", RootMD)
  <0xaaaabe1f62a8> = !{!"int", <0xaaaabddc68f8>, i64 0}  -- return a Type descriptors
p CGF.CGM.getTBAATypeInfo(CGF.getContext().IntTy)
  <0xaaaabe0c93b8> = !{<0xaaaabddfd208>, i64 4, !"int"}  --  I don't  sure what is it ?
```


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


More information about the cfe-commits mailing list