[llvm] r229472 - Add a FIXME to move IsLittleEndian to the target machine.
Eric Christopher
echristo at gmail.com
Mon Feb 16 22:45:17 PST 2015
Author: echristo
Date: Tue Feb 17 00:45:17 2015
New Revision: 229472
URL: http://llvm.org/viewvc/llvm-project?rev=229472&view=rev
Log:
Add a FIXME to move IsLittleEndian to the target machine.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp?rev=229472&r1=229471&r2=229472&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp Tue Feb 17 00:45:17 2015
@@ -130,6 +130,7 @@ void PPCSubtarget::initSubtargetFeatures
StackAlignment = 32;
// Determine endianness.
+ // FIXME: Part of the TargetMachine.
IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le);
}
More information about the llvm-commits
mailing list