diff options
author | Owen Anderson <resistor@mac.com> | 2011-06-15 23:35:18 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-06-15 23:35:18 +0000 |
commit | 77b4b13c2a525faf646a6784b24692cf0459b75e (patch) | |
tree | 7639bf12c28f01272d8f93a42df63718aee8de85 /include/llvm/CodeGen/ValueTypes.h | |
parent | f28987b76e758b5f2fcc2c5d2c8e073df54ca91e (diff) | |
download | llvm-77b4b13c2a525faf646a6784b24692cf0459b75e.tar.gz llvm-77b4b13c2a525faf646a6784b24692cf0459b75e.tar.bz2 llvm-77b4b13c2a525faf646a6784b24692cf0459b75e.tar.xz |
Add a new MVT::untyped. This will be used in future work for modelling ISA features like register pairs and lists with "interesting" constraints (such as ARM NEON contiguous register lists or even-odd paired registers). We need to be able to generate these instructions (often from intrinsics), but don't want to have to assign a legal type to them. Instead, we'll use an "untyped" edge to bypass the type-checking and simply ensure that the register classes match.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ValueTypes.h')
-rw-r--r-- | include/llvm/CodeGen/ValueTypes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index 22d1622207..e4f6ca20d4 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -83,7 +83,11 @@ namespace llvm { isVoid = 35, // This has no value - LAST_VALUETYPE = 36, // This always remains at the end of the list. + untyped = 36, // This value takes a register, but has + // unspecified type. The register class + // will be determined by the opcode. + + LAST_VALUETYPE = 37, // This always remains at the end of the list. // This is the current maximum for LAST_VALUETYPE. // MVT::MAX_ALLOWED_VALUETYPE is used for asserts and to size bit vectors |