[PATCH] D36876: [IRGen] Evaluate constant static variables referenced through member expressions

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 22 04:37:53 PDT 2017


arphaman updated this revision to Diff 112149.
arphaman added a comment.

Revert most of the changes and use temporary DREs as suggested by John.


Repository:
  rL LLVM

https://reviews.llvm.org/D36876

Files:
  lib/CodeGen/CGExprComplex.cpp
  lib/CodeGen/CGExprScalar.cpp
  test/CodeGenCXX/member-expr-references-variable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36876.112149.patch
Type: text/x-patch
Size: 8554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170822/0d61d309/attachment.bin>


More information about the cfe-commits mailing list