aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-03-23 20:35:01 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-03-23 20:35:01 +0000
commitf0a804df493e28e75cfc4ca930c53199b8d1e985 (patch)
treef184573387f7f2b6ba73cde12731c3839a2ddf51 /lib/Target/Sparc
parent02327fefd8a4b7d9f4dc90e066ba70b1d6253c27 (diff)
Allow direct value types in pattern definitions.
Just like register classes, value types can be used in two ways in patterns: (sext_inreg i32:$src, i16) In a named leaf node like i32:$src, the value type simply provides the type of the node directly. This simplifies type inference a lot compared to the current practice of specifiying types indirectly with register classes. As an unnamed leaf node, like i16 above, the value type represents itself as an MVT::Other immediate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions