aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-12-22 08:16:17 +0000
committerCraig Topper <craig.topper@gmail.com>2012-12-22 08:16:17 +0000
commit3f92b1bda0b756d2034577f3e4165f16061bfe65 (patch)
tree1736d70bd2d73e7bc54ef305574a4cd737897ba3 /lib/Transforms/Utils/Local.cpp
parentbf50d07625495f9185d3eba7be9e35df3e30ba65 (diff)
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
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions