[PATCH] D56802: [CodeGenObjC] Treat ivar offsets variables as constant if they refer to ivars of a direct subclass of NSObject with an @implementation
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 16 23:10:28 PST 2019
erik.pilkington updated this revision to Diff 182214.
erik.pilkington added a comment.
Sure, that makes sense. The new patch makes the global constant again.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56802/new/
https://reviews.llvm.org/D56802
Files:
clang/lib/CodeGen/CGObjCMac.cpp
clang/test/CodeGenObjC/constant-non-fragile-ivar-offset.m
clang/test/CodeGenObjC/optimize-ivar-offset-load.m
clang/test/CodeGenObjC/reorder-synthesized-ivars.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56802.182214.patch
Type: text/x-patch
Size: 7662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190117/bee7a3cb/attachment.bin>
More information about the cfe-commits
mailing list