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

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 05:17:06 PDT 2017


arphaman updated this revision to Diff 111956.
arphaman marked an inline comment as done.
arphaman added a comment.

- Get rid of the `AllowSideEffects` argument.
- Get rid of the old integer field evaluation code.


Repository:
  rL LLVM

https://reviews.llvm.org/D36876

Files:
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprAgg.cpp
  lib/CodeGen/CGExprComplex.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCXX/member-expr-references-variable.cpp
  test/CodeGenCXX/temporaries.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36876.111956.patch
Type: text/x-patch
Size: 15415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170821/166e2257/attachment-0001.bin>


More information about the cfe-commits mailing list