Add a FIXME to move IsLittleEndian to the target machine.
authorEric Christopher <echristo@gmail.com>
Tue, 17 Feb 2015 06:45:17 +0000 (06:45 +0000)
committerEric 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

index 0f3f72eac31913cb8c7cbb447d539027f80f65c1..8d3d5c4e408909c4ed46571128bc59b079fbcf43 100644 (file)
@@ -130,6 +130,7 @@ void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
     StackAlignment = 32;
 
   // Determine endianness.
+  // FIXME: Part of the TargetMachine.
   IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le);
 }