OSDN Git Service
Ian Rogers [Fri, 21 Feb 2014 21:51:43 +0000 (13:51 -0800)]
am
5fdf6cf6: am
16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.
* commit '
5fdf6cf61a44ba69a16401890450d6afd2f189ba':
Avoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Fri, 21 Feb 2014 21:51:42 +0000 (13:51 -0800)]
am
8d2ad1af: Avoid redefinition of __STD_FORMAT_MACROS.
* commit '
8d2ad1afa84d73cabd94d5eeaca8069eb49621c9':
Avoid redefinition of __STD_FORMAT_MACROS.
Colin Cross [Fri, 21 Feb 2014 21:51:41 +0000 (13:51 -0800)]
am
13607273: am
78c0f17f: Merge "llvm: rename aarch64 target to arm64"
* commit '
1360727339371ebcf24911c9ea7efd53f1d20d04':
Stephen Hines [Fri, 21 Feb 2014 21:51:40 +0000 (13:51 -0800)]
Ben Cheng [Fri, 21 Feb 2014 21:51:39 +0000 (13:51 -0800)]
am
6562c95b: am
0000ef0b: Merge "AArch64: Temporarily disable AArch64 build"
* commit '
6562c95b5280bc16c4db31d58a6cae8e5cdfde6d':
Todd Fiala [Fri, 21 Feb 2014 21:51:38 +0000 (13:51 -0800)]
am
0de283df: Fixes for LLDB build to work around host 4.6.2+ compiler issues.
* commit '
0de283dfa2686e30b44a3f6d7ce081588bf4910f':
Fixes for LLDB build to work around host 4.6.2+ compiler issues.
Todd Fiala [Fri, 21 Feb 2014 21:51:37 +0000 (13:51 -0800)]
am
ba309b04: Added libs to the host\'s libLLVM.so.
* commit '
ba309b04ea5c66df1bc1c27849642d2602ab869d':
Added libs to the host's libLLVM.so.
Stephen Hines [Fri, 21 Feb 2014 21:51:36 +0000 (13:51 -0800)]
am
1255ecdd: am
a91a22bc: am
8e708faf: am
5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"
* commit '
1255ecdd03f25d397c6871c18a6be6ba8f1142e7':
Stephen Hines [Fri, 21 Feb 2014 21:51:35 +0000 (13:51 -0800)]
am
c0c7ba11: Merge "Only build HOST LLVM when forced to do so."
* commit '
c0c7ba114994c207930632a1d9f3dae92054ade2':
Only build HOST LLVM when forced to do so.
Stephen Hines [Fri, 21 Feb 2014 21:51:34 +0000 (13:51 -0800)]
am
917ae8fb: Fix LLVM version number (3.3).
* commit '
917ae8fb30e31b065310aea214dbb5655d9a23d0':
Fix LLVM version number (3.3).
Stephen Hines [Fri, 21 Feb 2014 21:51:33 +0000 (13:51 -0800)]
am
0210adda: (-s ours) am
d79086a1: (-s ours) am
3acb57db: (-s ours) am
f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."
* commit '
0210adda57353b4542220b496d812818995627ff':
Colin Cross [Tue, 18 Feb 2014 23:39:47 +0000 (23:39 +0000)]
Merge "llvm: convert makefiles to support multilib build"
Colin Cross [Wed, 5 Feb 2014 00:26:26 +0000 (16:26 -0800)]
llvm: convert makefiles to support multilib build
Convert makefiles to allow for building two architectures at the
same time. This will also cause make checkbuild to build the target
libraries for all supported architectures.
Change-Id: Ia5e6fe5b1186a67753faafd3532ed4cb280a8b10
Elliott Hughes [Thu, 6 Feb 2014 20:40:37 +0000 (20:40 +0000)]
Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"
Duane Sand [Tue, 21 Jan 2014 18:47:07 +0000 (10:47 -0800)]
[MIPS64] Temporary placeholder build, to allow other projects to build
Change-Id: I050c96c687f44e882bb7139a7dd81a46c72ac3b6
Ian Rogers [Thu, 6 Feb 2014 00:53:23 +0000 (00:53 +0000)]
am
16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.
* commit '
16a8fd801a4c4372d966a5eea70b5f541a24be79':
Avoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Thu, 30 Jan 2014 01:01:13 +0000 (17:01 -0800)]
Avoid redefinition of __STD_FORMAT_MACROS.
Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730
Ian Rogers [Thu, 30 Jan 2014 01:01:13 +0000 (17:01 -0800)]
Avoid redefinition of __STD_FORMAT_MACROS.
Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730
Ian Rogers [Thu, 30 Jan 2014 01:07:15 +0000 (01:07 +0000)]
Merge "Avoid redefinition of __STD_FORMAT_MACROS."
Ian Rogers [Thu, 30 Jan 2014 01:01:13 +0000 (17:01 -0800)]
Avoid redefinition of __STD_FORMAT_MACROS.
Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730
Colin Cross [Fri, 24 Jan 2014 21:24:49 +0000 (21:24 +0000)]
am
78c0f17f: Merge "llvm: rename aarch64 target to arm64"
* commit '
78c0f17f14c3dd3f702d0b49afbe7a26a7fd31d3':
llvm: rename aarch64 target to arm64
Colin Cross [Fri, 24 Jan 2014 20:33:04 +0000 (20:33 +0000)]
Merge "llvm: rename aarch64 target to arm64"
Colin Cross [Wed, 22 Jan 2014 05:32:36 +0000 (21:32 -0800)]
llvm: rename aarch64 target to arm64
Rename aarch64 build targets to arm64. The gcc toolchain is still
aarch64.
Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
Stephen Hines [Wed, 22 Jan 2014 00:37:34 +0000 (00:37 +0000)]
am
95015e5c: Merge "Remove unused files."
* commit '
95015e5c45e0faca137acd16f8032f6ae09cdb6f':
Remove unused files.
Stephen Hines [Wed, 22 Jan 2014 00:12:14 +0000 (00:12 +0000)]
Merge "Remove unused files."
Logan Chien [Wed, 8 Jan 2014 04:09:24 +0000 (12:09 +0800)]
Remove unused files.
* copy-diff.py was the effort to reduce the libLLVM build time
but no longer being used because the timestamp of the generated
.inc files should always be updated.
* tblgen-rules.mk has been splitted to llvm-tblgen-rules.mk
and clang-tblgen-rules.mk, and tblgen-rules.mk won't be
included by the other makefiles anymore.
Change-Id: I60d41b5a2a68d639750068cadcee3e78a4527cd2
Ben Cheng [Wed, 11 Dec 2013 21:09:53 +0000 (21:09 +0000)]
am
0000ef0b: Merge "AArch64: Temporarily disable AArch64 build"
* commit '
0000ef0b7a446ff64de480da75b353c3ad0ff196':
AArch64: Temporarily disable AArch64 build
Ben Cheng [Wed, 11 Dec 2013 17:51:04 +0000 (17:51 +0000)]
Merge "AArch64: Temporarily disable AArch64 build"
Serban Constantinescu [Sun, 20 Oct 2013 14:30:09 +0000 (15:30 +0100)]
AArch64: Temporarily disable AArch64 build
This patch disables AArch64 build and will get us going with
building bionic. Needs to be reverted once upstream llvm support is
integrated into AOSP (AArch64 backend).
Change-Id: I4dde21bc340d7d00d5ffda551db2e5ab83c85c63
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Todd Fiala [Tue, 5 Nov 2013 22:38:34 +0000 (14:38 -0800)]
Fixes for LLDB build to work around host 4.6.2+ compiler issues.
These fixes to the LLVM source add manual copy constructor and operator=()
methods for classes that use member bitfields and are used in templated
containers.
The intent is to keep this change (and related LLDB and clang changes)
local to android only until we either fix the compiler or use a new one
for host executable builds.
Change-Id: I8c6b31be0b3cfc79cb89b591c41cbbfdf0157c6c
Todd Fiala [Fri, 18 Oct 2013 22:22:40 +0000 (15:22 -0700)]
Added libs to the host's libLLVM.so.
Added Android.mk build rules for:
* lib/ExecutionEngine
* lib/ExecutionEngine/RuntimeDyld
* lib/ExecutionEngine/MCJIT
* lib/MC/MCDisassembler
Added all of the static libraries above to the host build of libLLVM.so.
In addition, the following existing static library was added to
the host build of libLLVM.so:
* lib/ExecutionEngine/JIT
Change-Id: I0e6cfac607e02b4ae77ee46df33eca2f96dac8e1
Stephen Hines [Tue, 24 Sep 2013 00:53:17 +0000 (17:53 -0700)]
am
a91a22bc: am
8e708faf: am
5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"
* commit '
a91a22bcbadfb1aa06aec5077e8f5ce9d40a8410':
x86_64/x32: Avoid early fail on x32 or x86_64 build
Stephen Hines [Tue, 24 Sep 2013 00:51:13 +0000 (17:51 -0700)]
am
8e708faf: am
5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"
* commit '
8e708fafb747b3f1e536d87016bb67c118fb5b0d':
x86_64/x32: Avoid early fail on x32 or x86_64 build
Stephen Hines [Tue, 24 Sep 2013 00:49:05 +0000 (17:49 -0700)]
am
5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"
* commit '
5edef2e84e3c0d7df5e16904111061016a02c95f':
x86_64/x32: Avoid early fail on x32 or x86_64 build
Stephen Hines [Tue, 24 Sep 2013 00:46:55 +0000 (00:46 +0000)]
Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"
Pavel Chupin [Fri, 26 Jul 2013 09:54:32 +0000 (13:54 +0400)]
x86_64/x32: Avoid early fail on x32 or x86_64 build
Change-Id: I30186cfb74467004400a10e79e0fcbf72f876098
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Stephen Hines [Sat, 14 Sep 2013 05:36:55 +0000 (05:36 +0000)]
Merge "Only build HOST LLVM when forced to do so."
Stephen Hines [Fri, 13 Sep 2013 06:16:28 +0000 (23:16 -0700)]
Fix LLVM version number (3.3).
Change-Id: Iee3f058ff8484699e76080695815677d355dfbd1
Stephen Hines [Fri, 6 Sep 2013 23:55:14 +0000 (16:55 -0700)]
Only build HOST LLVM when forced to do so.
Bug:
10653601
Change-Id: Icba0b2fcfcfc668871dcbcd8837b14cd7686309a
Stephen Hines [Tue, 27 Aug 2013 22:24:10 +0000 (15:24 -0700)]
am
d79086a1: (-s ours) am
3acb57db: (-s ours) am
f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."
* commit '
d79086a173e809334532b367ee04dd9e32596f8f':
DO NOT MERGE - Allow global-merge option to be accessed externally.
Stephen Hines [Tue, 27 Aug 2013 22:21:22 +0000 (15:21 -0700)]
am
3acb57db: (-s ours) am
f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."
* commit '
3acb57db7bc4e1379acf668329a98acaccc2ba71':
DO NOT MERGE - Allow global-merge option to be accessed externally.
Stephen Hines [Tue, 27 Aug 2013 22:18:19 +0000 (15:18 -0700)]
am
f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."
* commit '
f31eb8ab038dabe0f70710696e0091b85f3a84e7':
DO NOT MERGE - Allow global-merge option to be accessed externally.
Stephen Hines [Tue, 27 Aug 2013 22:14:35 +0000 (22:14 +0000)]
Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."
Stephen Hines [Thu, 11 Jul 2013 21:21:25 +0000 (14:21 -0700)]
DO NOT MERGE - Allow global-merge option to be accessed externally.
Change-Id: I39d1c5e05b5f1bbbf76f7491f7dc8cfa70a83611
Stephen Hines [Tue, 13 Aug 2013 09:43:02 +0000 (02:43 -0700)]
Mac only has ::futimes() and not ::futimens().
Change-Id: I61d7aab308971e632e01c649a8c2b503e851dadc
Stephen Hines [Tue, 13 Aug 2013 08:28:16 +0000 (01:28 -0700)]
Fix build break due to conflicting #define values.
Change-Id: I502c13aba9eb720a9591af998cb339836c9d8620
Stephen Hines [Thu, 8 Aug 2013 02:25:16 +0000 (19:25 -0700)]
Update LLVM for merge to r187913.
Add HAVE_FUTIMENS to */include/llvm/Config/config.h
Update version number to 3.3 (even though this is tracking 3.4)
Removed lib/Archive
Added lib/Option
Android.mk changes:
- PathV2.cpp
- SimplifyLibCalls.cpp
- BlackList.cpp
- VecUtils.cpp
+ MD5.cpp
+ CFG.cpp
+ SpecialCaseList.cpp
+ MachOUniversal.cpp
+ StructurizeCFG.cpp
Change-Id: I8ee072cd0d4210a6a5492c0e6663f8464ff21386
Stephen Hines [Wed, 7 Aug 2013 22:07:10 +0000 (15:07 -0700)]
Merge commit '
10251753b6897adcd22cc981c0cc42f348c109de' into merge-
20130807
Conflicts:
lib/Archive/ArchiveReader.cpp
lib/Support/Unix/PathV2.inc
Change-Id: I29d8c1e321a4a380b6013f00bac6a8e4b593cc4e
Eric Christopher [Wed, 7 Aug 2013 21:13:06 +0000 (21:13 +0000)]
Using the integrated assembler we'd fail to change section to the
.tbss section for zerofill thread locals. Make sure we do this
before emitting the zerofills.
Fixes PR15972.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187913
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 7 Aug 2013 21:13:01 +0000 (21:13 +0000)]
Fix a FIXME, on darwin all virtual sections have a zerofill type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187912
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Kleckner [Wed, 7 Aug 2013 20:19:31 +0000 (20:19 +0000)]
On Windows, autolink advapi32 from Path.inc for CryptAcquireContextW
This allows llvm-tblgen to link successfully when compiling with clang.
Both MSBuild and CMake will automatically add advapi32 as part of a set
of other dlls comprising the win32 API to the link line, but CMake
doesn't do that when compiling with clang. Until someone adds that info
to cmake upstream, this seems like a reasonable work around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187907
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Wed, 7 Aug 2013 19:34:37 +0000 (19:34 +0000)]
Add the common begin/end naming convention to the coding standard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187902
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 7 Aug 2013 18:51:09 +0000 (18:51 +0000)]
Move assert above first use of variable that we'd be asserting on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187899
91177308-0d34-0410-b5e6-
96231b3b80d8
NAKAMURA Takumi [Wed, 7 Aug 2013 17:21:23 +0000 (17:21 +0000)]
lit/LitConfig.py: Fixup for msys bash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187896
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Trick [Wed, 7 Aug 2013 17:20:32 +0000 (17:20 +0000)]
Confusing comment typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187895
91177308-0d34-0410-b5e6-
96231b3b80d8
NAKAMURA Takumi [Wed, 7 Aug 2013 12:53:53 +0000 (12:53 +0000)]
Lit: Fixup in r187886.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187887
91177308-0d34-0410-b5e6-
96231b3b80d8
NAKAMURA Takumi [Wed, 7 Aug 2013 12:44:29 +0000 (12:44 +0000)]
Lit: Resurrect --no-execute dropped in r187852.
For now, builders in bb.pgr.jp are using it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187886
91177308-0d34-0410-b5e6-
96231b3b80d8
Elena Demikhovsky [Wed, 7 Aug 2013 12:34:55 +0000 (12:34 +0000)]
AVX-512 set: Added BROADCAST instructions
with lowering logic and a test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187884
91177308-0d34-0410-b5e6-
96231b3b80d8
Richard Sandiford [Wed, 7 Aug 2013 11:10:06 +0000 (11:10 +0000)]
[SystemZ] Optimize floating-point comparisons with zero
This follows the same lines as the integer code. In the end it seemed
easier to have a second 4-bit mask in TSFlags to specify the compare-like
CC values. That eats one more TSFlags bit than adding a CCHasUnordered
would have done, but it feels more concise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187883
91177308-0d34-0410-b5e6-
96231b3b80d8
Richard Sandiford [Wed, 7 Aug 2013 11:03:34 +0000 (11:03 +0000)]
[SystemZ] Add floating-point load-and-test instructions
These instructions can also be used as comparisons with zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187882
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Wed, 7 Aug 2013 10:29:38 +0000 (10:29 +0000)]
JumpThreading: Turn a select instruction into branching if it allows to thread one half of the select.
This is a common pattern coming out of simplifycfg generating gross code.
a: ; preds = %entry
%sel = select i1 %cmp1, double %add, double 0.
000000e+00
br label %b
b:
%cond5 = phi double [ %sel, %a ], [ %sub, %entry ]
%cmp6 = fcmp oeq double %cond5, 0.
000000e+00
br i1 %cmp6, label %if.then, label %if.end
becomes
a:
br i1 %cmp1, label %b, label %if.then
b:
%cond5 = phi double [ %sub, %entry ], [ %add, %a ]
%cmp6 = fcmp oeq double %cond5, 0.
000000e+00
br i1 %cmp6, label %if.then, label %if.end
Skipping block b completely if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187880
91177308-0d34-0410-b5e6-
96231b3b80d8
Chandler Carruth [Wed, 7 Aug 2013 09:52:34 +0000 (09:52 +0000)]
Commit a no-op change to StringRef to (hopefully) trigger build bots.
r187874 seems to have been missed by the build bot infrastructure, and
the subsequent commits to compiler-rt don't seem to be queuing up new
build requsets. Hopefully this will.
As it happens, having the space here is the more common formatting. =]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187879
91177308-0d34-0410-b5e6-
96231b3b80d8
Chandler Carruth [Wed, 7 Aug 2013 08:47:36 +0000 (08:47 +0000)]
Add support for linking against a curses library when available and
using it to detect whether or not a terminal supports colors. This
replaces a particularly egregious hack that merely compared the TERM
environment variable to "dumb". That doesn't really translate to
a reasonable experience for users that have actually ensured their
terminal's capabilities are accurately reflected.
This makes testing a terminal for color support somewhat more expensive,
but it is called very rarely anyways. The important fast path when the
output is being piped somewhere is already in place.
The global lock may seem excessive, but the spec for calling into curses
is *terrible*. The whole library is terrible, and I spent quite a bit of
time looking for a better way of doing this before convincing myself
that this was the fundamentally correct way to behave. The damage of the
curses library is very narrowly confined, and we continue to use raw
escape codes for actually manipulating the colors which is a much sane
system than directly using curses here (IMO).
If this causes trouble for folks, please let me know. I've tested it on
Linux and will watch the bots carefully. I've also worked to account for
the variances of curses interfaces that I could finde documentation for,
but that may not have been sufficient.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187874
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 7 Aug 2013 08:35:10 +0000 (08:35 +0000)]
Remove some parens. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187872
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Wed, 7 Aug 2013 08:16:07 +0000 (08:16 +0000)]
Simplify code. No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187870
91177308-0d34-0410-b5e6-
96231b3b80d8
Evgeniy Stepanov [Wed, 7 Aug 2013 07:47:41 +0000 (07:47 +0000)]
Initialize SIInsertWaits::ExpInstrTypesSeen in the pass constructor.
This value may be used uninitialized in SIInsertWaits::insertWait.
Found with MemorySanitizer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187869
91177308-0d34-0410-b5e6-
96231b3b80d8
Dmitri Gribenko [Wed, 7 Aug 2013 07:12:08 +0000 (07:12 +0000)]
Remove the assertion for now. This breaks lld.
lld has a hashtable with StringRef keys; it needs to iterate over the keys in
*insertion* order. This is currently implemented as std::vector<StringRef> +
DenseMap<StringRef, T>. This will probably need a proper
DenseMapInfo<StringRef> if we don't want to lose memory/performance by
migrating to a different data structure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187868
91177308-0d34-0410-b5e6-
96231b3b80d8
Elena Demikhovsky [Wed, 7 Aug 2013 06:13:21 +0000 (06:13 +0000)]
LLVM Interpreter: MIPS tests should pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187867
91177308-0d34-0410-b5e6-
96231b3b80d8
Dmitri Gribenko [Wed, 7 Aug 2013 05:51:27 +0000 (05:51 +0000)]
YAMLTraits.h: replace DenseMap that used a bad implementation of DenseMapInfo
for StringRef with a StringMap
The bug is that the empty key compares equal to the tombstone key.
Also added an assertion to DenseMap to catch similar bugs in future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187866
91177308-0d34-0410-b5e6-
96231b3b80d8
Shuxin Yang [Wed, 7 Aug 2013 05:19:23 +0000 (05:19 +0000)]
Change public functions of LTOCodeGenerator from ret-false-on-succ to ret-true-on-succ.
As of this revision, all functions of LTOCodeGenerator are consistent in
ret-true-on-succ.
Tested on multiple OSes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187864
91177308-0d34-0410-b5e6-
96231b3b80d8
Reed Kotler [Wed, 7 Aug 2013 04:00:26 +0000 (04:00 +0000)]
Create a pattern for the "trap" instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187863
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:25:28 +0000 (03:25 +0000)]
[lit] Use py2&3 compatible exec() syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187862
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:24:20 +0000 (03:24 +0000)]
[lit] Use newer StringIO class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187861
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:23:12 +0000 (03:23 +0000)]
[lit] Use modern absolute/relative import style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187860
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:22:02 +0000 (03:22 +0000)]
[lit] Avoid __cmp__ and cmp().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187859
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:20:54 +0000 (03:20 +0000)]
[lit] Avoid use of iterator .next() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187858
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:19:45 +0000 (03:19 +0000)]
[lit] Use .write() methods instead of print statement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187857
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:18:36 +0000 (03:18 +0000)]
[lit] Use dual-compatible print() syntax where possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187856
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:17:27 +0000 (03:17 +0000)]
[lit] Remove use of deprecated parameter tuple unpacking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187855
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:16:19 +0000 (03:16 +0000)]
[lit] Remove uses of deprecated except syntax.
- Since we only have a few of these, use the cumbersome method of getting the
exception object from 'sys' to retain the current pre-2.6 compatibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187854
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:15:10 +0000 (03:15 +0000)]
[lit] Use more modern syntax for constructing exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187853
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:14:00 +0000 (03:14 +0000)]
[lit] Drop --no-execute, which isn't generally useful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187852
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:12:51 +0000 (03:12 +0000)]
[lit] tests: Change discovery test to use --show-tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187851
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:11:42 +0000 (03:11 +0000)]
[lit] Add a --show-tests option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187850
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 7 Aug 2013 03:08:46 +0000 (03:08 +0000)]
[lit] Remove dead ignoreStdError argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187849
91177308-0d34-0410-b5e6-
96231b3b80d8
Alexander Kornienko [Wed, 7 Aug 2013 02:08:31 +0000 (02:08 +0000)]
Disabled columnWidth test for OSX, need someone with Mac to deal with this effectively.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187848
91177308-0d34-0410-b5e6-
96231b3b80d8
Alexander Kornienko [Wed, 7 Aug 2013 01:23:28 +0000 (01:23 +0000)]
Use correct platform detection macro: __MACOSX__ -> __APPLE__
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187847
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Kleckner [Wed, 7 Aug 2013 01:22:04 +0000 (01:22 +0000)]
Fix boolean logic in LockFileManager and test it
This fixes a bug from r187826.
Reviewers: hans
Differential Revision: http://llvm-reviews.chandlerc.com/D1304
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187846
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Kleckner [Wed, 7 Aug 2013 01:21:33 +0000 (01:21 +0000)]
Avoid using alloca in Windows/Program.inc
One use needs to copy the alloca into a std::string, and the other use
is before calling CreateProcess, which is very heavyweight anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187845
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 7 Aug 2013 01:18:33 +0000 (01:18 +0000)]
Add a way to grab a particular attribute out of a DIE.
Use it when we're looking for a string in particular. Update comments
as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187844
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Wed, 7 Aug 2013 01:18:24 +0000 (01:18 +0000)]
Move somewhat messy conditional out of line.
No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187843
91177308-0d34-0410-b5e6-
96231b3b80d8
Alexander Kornienko [Wed, 7 Aug 2013 00:41:18 +0000 (00:41 +0000)]
Disable tests on WIN32 (which has incorrect implementation of isPrint and
columnWidth), and partially disable tests on MACOSX (which handles some
characters differently).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187842
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Kleckner [Wed, 7 Aug 2013 00:29:15 +0000 (00:29 +0000)]
Check for _strtoi64 in the cmake build if strtoll is missing
Previously this check was guarded by MSVC, which doesn't distinguish
between the compiler and the headers/library. This enables clang to
compile more of LLVM on Windows with Microsoft headers.
Remove some unused macros while I'm here: error_t and LTDL stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187839
91177308-0d34-0410-b5e6-
96231b3b80d8
David Blaikie [Wed, 7 Aug 2013 00:25:12 +0000 (00:25 +0000)]
Remove unused functions introduced in r172685 to unbreak the Clang -Werror build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187838
91177308-0d34-0410-b5e6-
96231b3b80d8
Alexander Kornienko [Wed, 7 Aug 2013 00:07:07 +0000 (00:07 +0000)]
Implemented llvm::sys::locale::columnWidth and isPrint for the case of generic UTF8-capable terminal.
Summary:
This is a second attempt to get this right. After reading the Unicode
Standard I came up with the code that uses definitions of "printable" and
"column width" more suitable for terminal output (i.e. fixed-width fonts and
special treatment of many control characters).
The implementation here can probably be used for Windows and MacOS if someone
can test it properly.
The patch addresses PR14910.
Reviewers: jordan_rose, gribozavr
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1253
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187837
91177308-0d34-0410-b5e6-
96231b3b80d8
Aaron Ballman [Tue, 6 Aug 2013 23:34:04 +0000 (23:34 +0000)]
Replacing /GR with /GR- instead of applying both options to the project. This should reduce some build bot warnings (D9025: "overriding '/GR' with '/GR-'").
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187836
91177308-0d34-0410-b5e6-
96231b3b80d8
Tom Stellard [Tue, 6 Aug 2013 23:12:34 +0000 (23:12 +0000)]
R600: Add new file from r187831 to CMakeLists.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187834
91177308-0d34-0410-b5e6-
96231b3b80d8
Akira Hatanaka [Tue, 6 Aug 2013 23:08:38 +0000 (23:08 +0000)]
[mips] Rename register classes CPURegs and CPU64Regs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187832
91177308-0d34-0410-b5e6-
96231b3b80d8
Tom Stellard [Tue, 6 Aug 2013 23:08:28 +0000 (23:08 +0000)]
R600/SI: Use VSrc_* register classes as the default classes for types
Since the VSrc_* register classes contain both VGPRs and SGPRs, copies
that used be emitted by isel like this:
SGPR = COPY VGPR
Will now be emitted like this:
VSrC = COPY VGPR
This patch also adds a pass that tries to identify and fix situations where
a VGPR to SGPR copy may occur. Hopefully, these changes will make it
impossible for the compiler to generate illegal VGPR to SGPR copies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187831
91177308-0d34-0410-b5e6-
96231b3b80d8
Tom Stellard [Tue, 6 Aug 2013 23:08:18 +0000 (23:08 +0000)]
R600/SI: Add more special cases for opcodes to ensureSRegLimit()
Also factor out the register class lookup to its own function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187830
91177308-0d34-0410-b5e6-
96231b3b80d8