[PATCH] D42366: [CodeGen] Fix generation of TBAA tags for may-alias accesses
John McCall via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 09:09:36 PST 2018
rjmccall added inline comments.
================
Comment at: lib/CodeGen/CodeGenTBAA.h:67
/* BaseType= */ nullptr, /* AccessType= */ nullptr,
- /* Offset= */ 0, /* Size= */ 0);
+ /* Offset= */ 0, /* Size= */ UINT64_MAX);
}
----------------
Hmm. I think you should talk this part over with Hal. If the size should be ignored then I think it's better to just leave this as 0; it's certainly easier to recognize 0 as a "size unknown" value.
Repository:
rL LLVM
https://reviews.llvm.org/D42366
More information about the llvm-commits
mailing list