commit | 946e2726f91c17574d248f9c4b3eeea41e892a22 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Mar 07 01:58:44 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Mar 07 01:58:44 2012 +0000 |
tree | dba90d0b7abc17149dcc6ee9dab9357542a332a7 | |
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