diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-07-19 18:47:01 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-07-19 18:47:01 +0000 |
commit | 46dcb57e18884099ca6ad2aebb81fd7e1513c1f6 (patch) | |
tree | 2c2ee79becfba126da6a32938918528d49271886 /lib/Transforms/InstCombine/InstCombineCasts.cpp | |
parent | 9529a1c3dd9946c1e63075f4bf146a731769ebe2 (diff) |
Teach computeRegisterProperties() to compute "representative" register class for legal value types. A "representative" register class is the largest legal super-reg register class for a value type. e.g. On i386, GR32 is the rep register class for i8 / i16 / i32; on x86_64 it would be GR64.
This property will be used by the register pressure tracking instruction scheduler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions