diff options
Diffstat (limited to 'utils/TableGen/CodeGenTarget.cpp')
-rw-r--r-- | utils/TableGen/CodeGenTarget.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index aad1be9416..a64aef9a4e 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -385,6 +385,13 @@ bool CodeGenTarget::isLittleEndianEncoding() const { return getInstructionSet()->getValueAsBit("isLittleEndianEncoding"); } +/// supportsHasI1 - Return whether this target supports the implicit I1, +/// rather than Flags, for ADDC/ADDE +/// +bool CodeGenTarget::supportsHasI1() const { + return getInstructionSet()->getValueAsBit("supportsHasI1"); +} + //===----------------------------------------------------------------------===// // ComplexPattern implementation // |