OSDN Git Service
Stephen Hines [Sat, 22 Feb 2014 00:51:49 +0000 (00:51 +0000)]
Stephen Hines [Sat, 22 Feb 2014 00:51:48 +0000 (00:51 +0000)]
am
42d669a6: (-s ours) am
92debeec: am
f36bad31: (-s ours) 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 '
42d669a668c10ffff0cf40d824eeac70b39d84e9':
Stephen Hines [Sat, 22 Feb 2014 00:46:50 +0000 (00:46 +0000)]
am
74ec609a: am
82b5399b: am
917ae8fb: Fix LLVM version number (3.3).
* commit '
74ec609a0adb011219d001a4b18c11979d1e004d':
Fix LLVM version number (3.3).
Stephen Hines [Sat, 22 Feb 2014 00:46:49 +0000 (00:46 +0000)]
am
92debeec: am
f36bad31: (-s ours) 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 '
92debeec74286e88ac2cd3b92d18ff2aad255834':
Stephen Hines [Sat, 22 Feb 2014 00:40:09 +0000 (00:40 +0000)]
am
82b5399b: am
917ae8fb: Fix LLVM version number (3.3).
* commit '
82b5399b94150ebb811b312cb9e36666b8982ea7':
Fix LLVM version number (3.3).
Stephen Hines [Sat, 22 Feb 2014 00:40:08 +0000 (00:40 +0000)]
am
f36bad31: (-s ours) 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 '
f36bad3128edafb52dfbc21b6d344e89f3f75fba':
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:54:44 +0000 (23:54 +0000)]
am
b7485134: am
449fc261: Merge "llvm: convert makefiles to support multilib build"
* commit '
b7485134a2cbecc47904988b4cfde24019ac4fa1':
llvm: convert makefiles to support multilib build
Colin Cross [Tue, 18 Feb 2014 23:51:21 +0000 (23:51 +0000)]
am
449fc261: Merge "llvm: convert makefiles to support multilib build"
* commit '
449fc26100e40d8dc9f5ca05cb111ca7f9b0d0ca':
llvm: convert makefiles to support multilib build
Colin Cross [Tue, 18 Feb 2014 23:39:47 +0000 (23:39 +0000)]
Merge "llvm: convert makefiles to support multilib build"
Stephen Hines [Sat, 15 Feb 2014 03:35:50 +0000 (19:35 -0800)]
Fix Windows configuration for LLVM 3.4.
Change-Id: Ia5772dc9edbef054a56c60e830bdd84794844854
Stephen Hines [Thu, 13 Feb 2014 21:21:09 +0000 (21:21 +0000)]
Don't build DFSan functionality for Android.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201362
91177308-0d34-0410-b5e6-
96231b3b80d8
Stephen Hines [Fri, 7 Feb 2014 07:41:26 +0000 (23:41 -0800)]
Update LLVM for merge to 3.4.
Update config.h files.
Add RS SubtargetFeature for +long64 on ARM devices.
Adjust Android.mk for added/removed files:
+ Delinearization.cpp
- PathNumbering.cpp
- PathProfileInfo.cpp
- PathProfileVerifier.cpp
- ProfileDataLoader.cpp
- ProfileDataLoaderPass.cpp
- ProfileEstimatorPass.cpp
- ProfileInfo.cpp
- ProfileInfoLoader.cpp
- ProfileInfoLoaderPass.cpp
- ProfileVerifierPass.cpp
+ LiveRegUnits.cpp
- ShrinkWrapping.cpp
+ StackMaps.cpp
- StrongPHIElimination.cpp
+ DIEHash.cpp
+ LegacyPassManager.cpp
+ ELF.cpp
+ Unicode.cpp
- MipsOptimizeMathLibCalls.cpp
- MipsELFStreamer.cpp
+ MipsTargetStreamer.cpp
- EdgeProfiling.cpp
+ DataFlowSanitizer.cpp
+ DebugIR.cpp
- OptimalEdgeProfiling.cpp
- PathProfiling.cpp
- ProfilingUtils.cpp
- BasicBlockPlacement.cpp
+ LoopRerollPass.cpp
+ PartiallyInlineLibCalls.cpp
+ SampleProfile.cpp
+ GlobalStatus.cpp
Change-Id: I17dcf0bf53a1720acd8226ae3e30d84993562a91
Stephen Hines [Wed, 12 Feb 2014 04:01:10 +0000 (20:01 -0800)]
Merge remote-tracking branch 'upstream/release_34' into merge-
20140211
Conflicts:
lib/Linker/LinkModules.cpp
lib/Support/Unix/Signals.inc
Change-Id: Ia54f291fa5dc828052d2412736e8495c1282aa64
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:51:07 +0000 (20:51 +0000)]
am
1fb20b43: am
edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"
* commit '
1fb20b43c912416e9f9696366235a091d2acfc65':
[MIPS64] Temporary placeholder build, to allow other projects to build
Ian Rogers [Thu, 6 Feb 2014 20:51:06 +0000 (20:51 +0000)]
am
e5c96aeb: am
94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."
* commit '
e5c96aeb8d9c9551bbe6e3fa3d6a58538865dc7d':
Avoid redefinition of __STD_FORMAT_MACROS.
Elliott Hughes [Thu, 6 Feb 2014 20:47:42 +0000 (20:47 +0000)]
am
edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"
* commit '
edba52bcd1a8afc5277a747727eae63023f18949':
[MIPS64] Temporary placeholder build, to allow other projects to build
Ian Rogers [Thu, 6 Feb 2014 20:47:42 +0000 (20:47 +0000)]
am
94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."
* commit '
94af5fd9ff423e4de67a23ca21d5964b82a3816a':
Avoid redefinition of __STD_FORMAT_MACROS.
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
Bill Wendling [Tue, 24 Dec 2013 06:50:45 +0000 (06:50 +0000)]
Merging r197483:
------------------------------------------------------------------------
r197483 | yrnkrn | 2013-12-17 00:40:11 -0800 (Tue, 17 Dec 2013) | 8 lines
There are no __register_frame and __deregister_frame functions
when using structured exception handling (SEH) on Windows 64.
http://llvm-reviews.chandlerc.com/D2378
Patch by Jonathan Liu!
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197944
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 24 Dec 2013 06:29:42 +0000 (06:29 +0000)]
Small reformatting changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197932
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 20 Dec 2013 22:14:38 +0000 (22:14 +0000)]
Remove help notes from the ReleaseNotes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197840
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 20 Dec 2013 04:29:56 +0000 (04:29 +0000)]
Merging r197492:
------------------------------------------------------------------------
r197492 | dyatkovskiy | 2013-12-17 04:07:33 -0800 (Tue, 17 Dec 2013) | 26 lines
Fix for PR18045:
http://llvm.org/bugs/show_bug.cgi?id=18045
Short issue description:
For X86 machines with sse < sse4.1 we got failures for some
particular load/store vector sequences:
$ clang-trunk -m32 -O2 test-case.c
fatal error: error in backend: Cannot select: 0x4200920: v4i32,ch = load 0x41d6ab0, 0x4205850,
0x41dcb10<LD16[getelementptr inbounds ([4 x i32]* @e, i32 0, i32 0)](align=4)> [ORD=82]
[ID=58]
0x4205850: i32 = X86ISD::Wrapper 0x41d5490 [ORD=26] [ID=43]
0x41d5490: i32 = TargetGlobalAddress<[4 x i32]* @e> 0 [ORD=26] [ID=23]
0x41dcb10: i32 = undef [ID=2]
The reason is that EltsFromConsecutiveLoads could emit such load instruction
both before and after legalize stage. Though this instruction is not legal for
machines with SSSE3 and lower.
The fix: In EltsFromConsecutiveLoads, if we have passed legalize stage, we
check whether nodes it emits are legal.
P.S.: If you get failure in time from 12:00 and till 22:00 (UTC-8),
perhaps I'll slow with response, so you better reject this commit. Thanks!
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197779
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 20 Dec 2013 04:26:57 +0000 (04:26 +0000)]
Merging r197718:
------------------------------------------------------------------------
r197718 | hans | 2013-12-19 12:32:44 -0800 (Thu, 19 Dec 2013) | 10 lines
Make sys::ThreadLocal<> zero-initialized on non-thread builds (PR18205)
According to the docs, ThreadLocal<>::get() should return NULL
if no object has been set. This patch makes that the case also for non-thread
builds and adds a very basic unit test to check it.
(This was causing PR18205 because PrettyStackTraceHead didn't get zero-
initialized and we'd crash trying to read past the end of that list. We didn't
notice this so much on Linux since we'd crash after printing all the entries,
but on Mac we print into a SmallString, and would crash before printing that.)
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197778
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 17 Dec 2013 06:01:39 +0000 (06:01 +0000)]
Update notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197468
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 17 Dec 2013 01:28:35 +0000 (01:28 +0000)]
Merging r197449:
------------------------------------------------------------------------
r197449 | arnolds | 2013-12-16 17:11:01 -0800 (Mon, 16 Dec 2013) | 7 lines
LoopVectorizer: Don't if-convert constant expressions that can trap
A phi node operand or an instruction operand could be a constant expression that
can trap (division). Check that we don't vectorize such cases.
PR16729
radar://
15653590
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197453
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 16 Dec 2013 03:48:58 +0000 (03:48 +0000)]
Merging r195411:
------------------------------------------------------------------------
r195411 | mgottesman | 2013-11-21 21:00:51 -0800 (Thu, 21 Nov 2013) | 1 line
[block-freq] Update data in test case to be unsigned long long to fix mingw build.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197363
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 15 Dec 2013 21:02:34 +0000 (21:02 +0000)]
Merging r197047:
------------------------------------------------------------------------
r197047 | d0k | 2013-12-11 08:36:09 -0800 (Wed, 11 Dec 2013) | 3 lines
SelectionDAG: Fix a typo.
Found by "cppcheck". PR18208.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197355
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 15 Dec 2013 20:58:02 +0000 (20:58 +0000)]
Merging r195710:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197354
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 15 Dec 2013 20:55:09 +0000 (20:55 +0000)]
Merging r197216:
------------------------------------------------------------------------
r197216 | chandlerc | 2013-12-13 00:00:01 -0800 (Fri, 13 Dec 2013) | 9 lines
[inliner] Fix PR18206 by preventing inlining functions that call setjmp
through an invoke instruction.
The original patch for this was written by Mark Seaborn, but I've
reworked his test case into the existing returns_twice test case and
implemented the fix by the prior refactoring to actually run the cost
analysis over invoke instructions, and then here fixing our detection of
the returns_twice attribute to work for both calls and invokes. We never
noticed because we never saw an invoke. =[
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197352
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 15 Dec 2013 20:54:53 +0000 (20:54 +0000)]
Merging r197215:
------------------------------------------------------------------------
r197215 | chandlerc | 2013-12-12 23:59:56 -0800 (Thu, 12 Dec 2013) | 24 lines
[inliner] Completely change (and fix) how the inline cost analysis
handles terminator instructions.
The inline cost analysis inheritted some pretty rough handling of
terminator insts from the original cost analysis, and then made it much,
much worse by factoring all of the important analyses into a separate
instruction visitor. That instruction visitor never visited the
terminator.
This works fine for things like conditional branches, but for many other
things we simply computed The Wrong Value. First example are
unconditional branches, which should be free but were counted as full
cost. This is most significant for conditional branches where the
condition simplifies and folds during inlining. We paid a 1 instruction
tax on every branch in a straight line specialized path. =[
Oh, we also claimed that the unreachable instruction had cost.
But it gets worse. Let's consider invoke. We never applied the call
penalty. We never accounted for the cost of the arguments. Nope. Worse
still, we didn't handle the *correctness* constraints of not inlining
recursive invokes, or exception throwing returns_twice functions. Oops.
See PR18206. Sadly, PR18206 requires yet another fix, but this
refactoring is at least a huge step in that direction.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197351
91177308-0d34-0410-b5e6-
96231b3b80d8
Hal Finkel [Sat, 14 Dec 2013 14:41:55 +0000 (14:41 +0000)]
Add release notes for the PowerPC backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197325
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 14 Dec 2013 08:04:09 +0000 (08:04 +0000)]
Merging r197178:
------------------------------------------------------------------------
r197178 | hfinkel | 2013-12-12 12:45:24 -0800 (Thu, 12 Dec 2013) | 9 lines
Fix a use-after-free error in GlobalOpt CleanupConstantGlobalUsers
GlobalOpt's CleanupConstantGlobalUsers function uses a worklist array to manage
constant users to be visited. The pointers in this array need to be weak
handles because when we delete a constant array, we may also be holding a
pointer to one of its elements (or an element of one of its elements if we're
dealing with an array of arrays) in the worklist.
Fixes PR17347.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197322
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 14 Dec 2013 08:01:30 +0000 (08:01 +0000)]
Merging r197228:
------------------------------------------------------------------------
r197228 | d0k | 2013-12-13 05:40:24 -0800 (Fri, 13 Dec 2013) | 8 lines
X86: When lowering shl_parts, don't emit shift amounts larger than the bit width.
While it's safe for the X86-specific shift nodes, dag combining will
kill generic nodes. Insert an AND to make it safe, isel will nuke it
as x86's shift instructions have an implicit AND.
Fixes PR16108, which contains a contraption to hit this case in between
constant folders.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197321
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 13 Dec 2013 04:19:05 +0000 (04:19 +0000)]
Fix URL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197203
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Thu, 12 Dec 2013 06:44:57 +0000 (06:44 +0000)]
Merging r-197100:
------------------------------------------------------------------------
r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
Remove unused multiclass from PPCInstrInfo.td
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197131
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Thu, 12 Dec 2013 06:42:41 +0000 (06:42 +0000)]
Merging r197100:
------------------------------------------------------------------------
r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
Remove unused multiclass from PPCInstrInfo.td
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197130
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Thu, 12 Dec 2013 04:28:52 +0000 (04:28 +0000)]
Merging r197089:
------------------------------------------------------------------------
r197089 | hfinkel | 2013-12-11 15:12:25 -0800 (Wed, 11 Dec 2013) | 6 lines
Fix the PPC subsumes-predicate check
For one predicate to subsume another, they must both check the same condition
register. Failure to check this prerequisite was causing miscompiles.
Fixes PR18003.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197126
91177308-0d34-0410-b5e6-
96231b3b80d8
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>
Bill Wendling [Wed, 11 Dec 2013 04:18:46 +0000 (04:18 +0000)]
Add LibBeauty blurb.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197004
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 10 Dec 2013 18:46:12 +0000 (18:46 +0000)]
Merging r196768:
------------------------------------------------------------------------
r196768 | majnemer | 2013-12-09 01:04:00 -0800 (Mon, 09 Dec 2013) | 5 lines
ADT: Implement MutableArrayRef::reverse_iterator
This adds rbegin/rend methods to MutableArrayRef, they will be used by a
follow-on commit in clang.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196945
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 10 Dec 2013 06:42:24 +0000 (06:42 +0000)]
Merging r196858:
------------------------------------------------------------------------
r196858 | nadav | 2013-12-09 17:13:59 -0800 (Mon, 09 Dec 2013) | 1 line
Fix PR18162 - Incorrect assertion assumed that the SDValue resno is zero.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196886
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 10 Dec 2013 04:31:42 +0000 (04:31 +0000)]
Merging r196806:
------------------------------------------------------------------------
r196806 | apazos | 2013-12-09 11:29:14 -0800 (Mon, 09 Dec 2013) | 11 lines
Fix pattern match for movi with 0D result
Patch by Jiangning Liu.
With some test case changes:
- intrinsic test added to the existing /test/CodeGen/AArch64/neon-aba-abd.ll.
- New test cases to cover movi 1D scenario without using the intrinsic in
test/CodeGen/AArch64/neon-mov.ll.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196872
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 10 Dec 2013 04:29:40 +0000 (04:29 +0000)]
Merging r196612:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196869
91177308-0d34-0410-b5e6-
96231b3b80d8
Manman Ren [Mon, 9 Dec 2013 21:07:27 +0000 (21:07 +0000)]
Merging r196172:
------------------------------------------------------------------------
r196172 | mren | 2013-12-02 16:12:14 -0800 (Mon, 02 Dec 2013) | 4 lines
Debug Info: rename getDebugInfoVersionFromModule to getDebugMetadataVersionFromModule.
Suggested by Eric.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196823
91177308-0d34-0410-b5e6-
96231b3b80d8
Manman Ren [Mon, 9 Dec 2013 21:06:30 +0000 (21:06 +0000)]
Merging r196158:
------------------------------------------------------------------------
r196158 | mren | 2013-12-02 13:29:56 -0800 (Mon, 02 Dec 2013) | 12 lines
Debug Info: drop debug info via upgrading path if version number does not match.
Add a helper function getDebugInfoVersionFromModule to return the debug info
version number for a module.
"Verifier/module-flags-1.ll" checks for verification errors.
It will seg fault when calling getDebugInfoVersionFromModule because of the
incorrect format for module flags in the testing case. We make
getModuleFlagsMetadata more robust by checking for error conditions.
PR17982
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196822
91177308-0d34-0410-b5e6-
96231b3b80d8
Manman Ren [Mon, 9 Dec 2013 21:05:36 +0000 (21:05 +0000)]
Merging r196156:
------------------------------------------------------------------------
r196156 | mren | 2013-12-02 13:25:56 -0800 (Mon, 02 Dec 2013) | 2 lines
Update Ocaml/vmcore.ml to emit a "Debug Info Version" module flag.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196821
91177308-0d34-0410-b5e6-
96231b3b80d8
Manman Ren [Mon, 9 Dec 2013 21:03:35 +0000 (21:03 +0000)]
Merging r196144:
------------------------------------------------------------------------
r196144 | mren | 2013-12-02 12:09:52 -0800 (Mon, 02 Dec 2013) | 4 lines
Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.
Suggested by Eric.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196819
91177308-0d34-0410-b5e6-
96231b3b80d8
Manman Ren [Mon, 9 Dec 2013 21:01:06 +0000 (21:01 +0000)]
Merging r195535:
------------------------------------------------------------------------
r195535 | mren | 2013-11-22 17:16:29 -0800 (Fri, 22 Nov 2013) | 8 lines
Debug Info: update testing cases to specify the debug info version number.
We are going to drop debug info without a version number or with a different
version number, to make sure we don't crash when we see bitcode files with
different debug info metadata format.
Make tests more robust by removing hard-coded metadata numbers in CHECK lines.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196817
91177308-0d34-0410-b5e6-
96231b3b80d8
Manman Ren [Mon, 9 Dec 2013 21:00:02 +0000 (21:00 +0000)]
Merging r195505:
------------------------------------------------------------------------
r195505 | mren | 2013-11-22 14:06:31 -0800 (Fri, 22 Nov 2013) | 8 lines
Debug Info: move StripDebugInfo from StripSymbols.cpp to DebugInfo.cpp.
We can share the implementation between StripSymbols and dropping debug info
for metadata versions that do not match.
Also update the comments to match the implementation. A follow-on patch will
drop the "Debug Info Version" module flag in StripDebugInfo.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196816
91177308-0d34-0410-b5e6-
96231b3b80d8
Manman Ren [Mon, 9 Dec 2013 20:58:24 +0000 (20:58 +0000)]
Merging r195504:
------------------------------------------------------------------------
r195504 | mren | 2013-11-22 13:49:45 -0800 (Fri, 22 Nov 2013) | 6 lines
Debug Info: update testing cases to specify the debug info version number.
We are going to drop debug info without a version number or with a different
version number, to make sure we don't crash when we see bitcode files with
different debug info metadata format.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196815
91177308-0d34-0410-b5e6-
96231b3b80d8
Tim Northover [Mon, 9 Dec 2013 10:48:32 +0000 (10:48 +0000)]
Merge rest of r196210. Some bits strayed into r196701, turning 3.4 red. This
should fix the issue.
------------------------------------------------------------------------
r196210 | haoliu | 2013-12-03 06:06:55 +0000 (Tue, 03 Dec 2013) | 3 lines
[AArch64]Add missing floating point convert, round and misc intrinsics.
E.g. int64x1_t vcvt_s64_f64(float64x1_t a) -> FCVTZS Dd, Dn
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196772
91177308-0d34-0410-b5e6-
96231b3b80d8
Tim Northover [Mon, 9 Dec 2013 09:05:30 +0000 (09:05 +0000)]
Merge r196725 (conflicts on same API as before):
------------------------------------------------------------------------
r196725 | tnorthover | 2013-12-08 15:56:50 +0000 (Sun, 08 Dec 2013) |
19 lines
ARM: fix folding of stack-adjustment (yet again).
When trying to eliminate an "sub sp, sp, #N" instruction by folding
it into an existing push/pop using dummy registers, we need to account
for the fact that this might affect precisely how "fp" gets set in the
prologue.
We were attempting this, but assuming that *whenever* we performed a
fold it would make a difference. This is false, for example, in:
push {r4, r7, lr}
add fp, sp, #4
vpush {d8}
sub sp, sp, #8
we can fold the "sub" into the "vpush", forming "vpush {d7, d8}".
However, in that case the "add fp" instruction mustn't change, which
we were getting wrong before.
Should fix PR18160.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196769
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 9 Dec 2013 08:56:18 +0000 (08:56 +0000)]
Merging r196751:
------------------------------------------------------------------------
r196751 | venkatra | 2013-12-08 20:02:15 -0800 (Sun, 08 Dec 2013) | 3 lines
[Sparc]: Implement getSetCCResultType() in SparcTargetLowering so that umulo/smulo can be lowered on sparcv9 without an assertion error.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196766
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 9 Dec 2013 08:55:55 +0000 (08:55 +0000)]
Merging r196755:
------------------------------------------------------------------------
r196755 | venkatra | 2013-12-08 21:13:25 -0800 (Sun, 08 Dec 2013) | 2 lines
[SPARCV9]: Adjust the resultant pointer of DYNAMIC_STACKALLOC with the stack BIAS on sparcV9.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196764
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 9 Dec 2013 08:36:26 +0000 (08:36 +0000)]
Merging r195495:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196761
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 9 Dec 2013 08:35:51 +0000 (08:35 +0000)]
Merging r195494:
------------------------------------------------------------------------
r195494 | mren | 2013-11-22 11:41:59 -0800 (Fri, 22 Nov 2013) | 4 lines
Debug Info: add a constant for debug info version number.
This will be used to output the debug info version number as a module flag.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196760
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Mon, 9 Dec 2013 01:54:36 +0000 (01:54 +0000)]
Merging r196735:
------------------------------------------------------------------------
r196735 | venkatra | 2013-12-08 14:06:07 -0800 (Sun, 08 Dec 2013) | 3 lines
[SparcV9]: Expand MULHU/MULHS:i64 and UMUL_LOHI/SMUL_LOHI:i64 on sparcv9.
This fixes PR18150.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196744
91177308-0d34-0410-b5e6-
96231b3b80d8
Tim Northover [Sun, 8 Dec 2013 08:12:20 +0000 (08:12 +0000)]
Merging r196493. Simple conflict due to change API of updated
function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196717
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:25:40 +0000 (00:25 +0000)]
Merging r196638:
------------------------------------------------------------------------
r196638 | arsenm | 2013-12-06 18:58:45 -0800 (Fri, 06 Dec 2013) | 1 line
Fix assert with copy from global through addrspacecast
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196709
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:25:14 +0000 (00:25 +0000)]
Merging r196668:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196708
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:23:35 +0000 (00:23 +0000)]
Merging r196637:
------------------------------------------------------------------------
r196637 | arsenm | 2013-12-06 18:58:41 -0800 (Fri, 06 Dec 2013) | 1 line
Add getBitCastOrAddrSpaceCast
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196707
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:19:49 +0000 (00:19 +0000)]
--- Reverse-merging r196668 into '.':
U lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
U test/Transforms/InstCombine/addrspacecast.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196705
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:17:29 +0000 (00:17 +0000)]
Merging r196588:
------------------------------------------------------------------------
r196588 | weimingz | 2013-12-06 09:56:48 -0800 (Fri, 06 Dec 2013) | 7 lines
Bug 18149: [AArch32] VSel instructions has no ARMCC field
The current peephole optimizing for compare inst assumes an instr that
uses CPSR has an MO for ARM Cond code.However, for VSEL instructions
(vseqeq, vselgt, vselgt, vselvs), there is no such operand nor do
they support the modification of Cond Code.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196704
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:08:32 +0000 (00:08 +0000)]
Merging r196535:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196702
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:08:20 +0000 (00:08 +0000)]
Merging r196533:
------------------------------------------------------------------------
r196533 | apazos | 2013-12-05 13:07:49 -0800 (Thu, 05 Dec 2013) | 3 lines
Implemented vget/vset_lane_f16 intrinsics
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196701
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:07:48 +0000 (00:07 +0000)]
Merging r196456:
------------------------------------------------------------------------
r196456 | jiangning | 2013-12-04 18:12:01 -0800 (Wed, 04 Dec 2013) | 2 lines
For AArch64, add missing register cost calculation for big value types like v4i64 and v8i64.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196700
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:07:30 +0000 (00:07 +0000)]
Merging r196362:
------------------------------------------------------------------------
r196362 | kevinqin | 2013-12-04 00:02:34 -0800 (Wed, 04 Dec 2013) | 1 line
[AArch64 Neon] Add ACLE intrinsic vceqz_f64.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196699
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:07:14 +0000 (00:07 +0000)]
Merging r196361:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196698
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:07:01 +0000 (00:07 +0000)]
Merging r196360:
------------------------------------------------------------------------
r196360 | kevinqin | 2013-12-03 23:53:28 -0800 (Tue, 03 Dec 2013) | 1 line
[AArch64 NEON] Add missing compare intrinsics.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196697
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:06:43 +0000 (00:06 +0000)]
Merging r196359:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196696
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:06:30 +0000 (00:06 +0000)]
Merging r196211:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196695
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:06:17 +0000 (00:06 +0000)]
Merging r196209:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196694
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:06:05 +0000 (00:06 +0000)]
Merging r196208:
------------------------------------------------------------------------
r196208 | haoliu | 2013-12-02 21:58:30 -0800 (Mon, 02 Dec 2013) | 3 lines
AArch64: add missing ACLE intrinsics mapping to general arithmetic operation from VFP instructions.
E.g. float64x1_t vadd_f64(float64x1_t a, float64x1_t b) -> FADD Dd, Dn, Dm.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196693
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:05:49 +0000 (00:05 +0000)]
Merging r196199:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196692
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:05:35 +0000 (00:05 +0000)]
Merging r196198:
------------------------------------------------------------------------
r196198 | haoliu | 2013-12-02 19:39:47 -0800 (Mon, 02 Dec 2013) | 3 lines
AArch64: Add missing scalar pair intrinsics.
E.g. "float32_t vaddv_f32(float32x2_t a)" to be matched into "faddp s0, v1.2s".
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196691
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:05:18 +0000 (00:05 +0000)]
Merging r196192:
------------------------------------------------------------------------
r196192 | jiangning | 2013-12-02 17:33:52 -0800 (Mon, 02 Dec 2013) | 2 lines
Add some missing pattern matches for AArch64 Neon intrinsics like vuqadd_s64 and friends.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196690
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:05:00 +0000 (00:05 +0000)]
Merging r196191:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196689
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:04:47 +0000 (00:04 +0000)]
Merging r196190:
------------------------------------------------------------------------
r196190 | jiangning | 2013-12-02 17:29:32 -0800 (Mon, 02 Dec 2013) | 2 lines
Add some missing pattern matches for AArch64 Neon intrinsics like vmull_high_n_s16 and friends.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196688
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 8 Dec 2013 00:04:29 +0000 (00:04 +0000)]
Merging r196189:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196687
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 7 Dec 2013 21:24:29 +0000 (21:24 +0000)]
Merging r196638:
------------------------------------------------------------------------
r196638 | arsenm | 2013-12-06 18:58:45 -0800 (Fri, 06 Dec 2013) | 1 line
Fix assert with copy from global through addrspacecast
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196668
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 7 Dec 2013 21:18:41 +0000 (21:18 +0000)]
Merging r196658:
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196665
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 7 Dec 2013 09:39:53 +0000 (09:39 +0000)]
Merging r196391:
------------------------------------------------------------------------
r196391 | hliao | 2013-12-04 09:44:22 -0800 (Wed, 04 Dec 2013) | 5 lines
[X86] Check YMM31/ZMM31 as well
- No test case as there's no calling convention preserve YMM31/ZMM31 only
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196653
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 7 Dec 2013 09:39:35 +0000 (09:39 +0000)]
Merging r196261:
------------------------------------------------------------------------
r196261 | hliao | 2013-12-03 01:17:32 -0800 (Tue, 03 Dec 2013) | 13 lines
Enhance the fix of PR17631
- The fix to PR17631 fixes part of the cases where 'vzeroupper' should
not be issued before 'call' insn. There're other cases where helper
calls will be inserted not limited to epilog. These helper calls do
not follow the standard calling convention and won't clobber any YMM
registers. (So far, all call conventions will clobber any or part of
YMM registers.)
This patch enhances the previous fix to cover more cases 'vzerosupper' should
not be inserted by checking if that function call won't clobber any YMM
registers and skipping it if so.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196652
91177308-0d34-0410-b5e6-
96231b3b80d8