[PATCH] D39295: [LSV] Skip all non-byte sizes, not only less than eight bits
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 17:27:30 PDT 2017
arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: include/llvm/IR/DataLayout.h:382-385
+ bool isByteSized(Type *Ty) const {
+ uint64_t TySize = getTypeSizeInBits(Ty);
+ return (TySize % 8) == 0;
+ }
----------------
This should probably be a separate patch
https://reviews.llvm.org/D39295
More information about the llvm-commits
mailing list