diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-10-14 05:53:40 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-10-14 05:53:40 +0000 |
commit | 99ee67ab193b5726332c04062f9d364da6ad6f8f (patch) | |
tree | 7c974728fddc72498b1918de71f9824a85cc1581 | |
parent | 28eefa5464ca6415fcee577d5c47f739535d7e6c (diff) |
Add isLittleEndianEncoding to InstrInfo class, defaults to `off'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16976 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Target.td | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 522a46cbc2..bdc30c06cd 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -170,6 +170,12 @@ class InstrInfo { // list<string> TSFlagsFields = []; list<int> TSFlagsShifts = []; + + // Target can specify its instructions in either big or little-endian formats. + // For instance, while both Sparc and PowerPC are big-endian platforms, the + // Sparc manual specifies its instructions in the format [31..0] (big), while + // PowerPC specifies them using the format [0..31] (little). + bit isLittleEndianEncoding = 0; } //===----------------------------------------------------------------------===// |