Use a negative value to represent INVALID_SIMPLE_VALUE_TYPE instead of 256. Its much...
authorCraig Topper <craig.topper@gmail.com>
Sat, 22 Dec 2012 08:16:17 +0000 (08:16 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 22 Dec 2012 08:16:17 +0000 (08:16 +0000)
commit3f92b1bda0b756d2034577f3e4165f16061bfe65
tree1736d70bd2d73e7bc54ef305574a4cd737897ba3
parentbf50d07625495f9185d3eba7be9e35df3e30ba65
Use a negative value to represent INVALID_SIMPLE_VALUE_TYPE instead of 256. Its much cheaper for the isSimple() checks to look for values less than 0 rather than a value greater than 255. This shaves ~8k off the size of the llc binary on x86-64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170981 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ValueTypes.h