commit | fc6434a73d053c3e1d9c79034a267ae1434483ad | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri Aug 09 19:33:32 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri Aug 09 19:33:32 2013 +0000 |
tree | 9d26d0dcc36934823298930123ac4c531da1748e | |
parent | 1edaeb61b29cbc8b834fb58ba80aa0db4bfb849d [diff] |
Add a overload to CostTable which allows it to infer the size of the table. Use it to avoid repeating ourselves too often. Also store MVT::SimpleValueType in the TTI tables so they can be statically initialized, MVT's constructors create bloated initialization code otherwise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188095 91177308-0d34-0410-b5e6-96231b3b80d8