diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-08 05:58:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-08 05:58:21 +0000 |
commit | 2621fd1d6d3c5eadcae246859f62738645df7540 (patch) | |
tree | d92b5407efff476f8d28daeeea02226feb8a7ddd /lib/Basic/TargetInfo.cpp | |
parent | 63bc0358706e63faf705803c4799e073b91a63f0 (diff) |
Add basic support for the pic-* target triples and add support for
targets that do not support recursion (and thus codegen stack variables
as globals).
Patch contributed by Alireza Moshtaghi!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
-rw-r--r-- | lib/Basic/TargetInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 4ce32a9972..675406edef 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -24,6 +24,7 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) { // Set defaults. These should be overridden by concrete targets as needed. CharIsSigned = true; WCharWidth = WCharAlign = 32; + IntWidth = IntAlign = 32; DoubleWidth = 64; DoubleAlign = 32; FloatFormat = &llvm::APFloat::IEEEsingle; |