Add isLittleEndianEncoding to InstrInfo class, defaults to `off'

llvm-svn: 16976
This commit is contained in:
Misha Brukman 2004-10-14 05:53:40 +00:00
parent 8393c15b28
commit dba1f62eb8
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}
//===----------------------------------------------------------------------===//