projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb031ee
)
Add a FIXME to move IsLittleEndian to the target machine.
author
Eric Christopher
<echristo@gmail.com>
Tue, 17 Feb 2015 06:45:17 +0000
(06:45 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Tue, 17 Feb 2015 06:45:17 +0000
(06:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229472
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCSubtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCSubtarget.cpp
b/lib/Target/PowerPC/PPCSubtarget.cpp
index 0f3f72eac31913cb8c7cbb447d539027f80f65c1..8d3d5c4e408909c4ed46571128bc59b079fbcf43 100644
(file)
--- a/
lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/
lib/Target/PowerPC/PPCSubtarget.cpp
@@
-130,6
+130,7
@@
void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
StackAlignment = 32;
// Determine endianness.
StackAlignment = 32;
// Determine endianness.
+ // FIXME: Part of the TargetMachine.
IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le);
}
IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le);
}