diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-07 01:58:44 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-07 01:58:44 +0000 |
commit | 946e2726f91c17574d248f9c4b3eeea41e892a22 (patch) | |
tree | dba90d0b7abc17149dcc6ee9dab9357542a332a7 /lib/Serialization/ASTWriter.cpp | |
parent | bef35c91b594f66216f4aab303b71a6c5ab7abcf (diff) |
Don't even try to directly emit the value of a DeclRefExpr if that declaration
is not usable in a constant expression. ~2.5% speedup on 403.gcc / combine.c.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions