commit | 4ec4089b302d4ab2ec3deac089c7834d27aa39ee | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Dec 09 06:47:34 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Dec 09 06:47:34 2011 +0000 |
tree | 62a578720e57aac555097873719e5df8f5884a21 | |
parent | d4e6e7e4a8c1f64162e14220579abab53e0ca10c [diff] |
Teach isConstantInitializer that numeric literals are constants, rather than having it evaluate them. No change in functionality, but a speed up of about 5% on some translation units in SPEC 445.gobmk. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146248 91177308-0d34-0410-b5e6-96231b3b80d8