]>
granicus.if.org Git - llvm/log
Tanya Lattner [Sun, 13 Sep 2009 19:00:12 +0000 (19:00 +0000)]
Merge 81175 from mainline.
Fix PR4882, by making MemCpyOpt not dereference removed stores to get the
context for the newly created operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81693
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 13 Sep 2009 18:54:32 +0000 (18:54 +0000)]
Merge 81132 from mainline.
Do not create calls via PLT in compilation callback - this is higly platform
dependent. Hopefully, this will fix PR3801.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81691
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 13 Sep 2009 18:53:07 +0000 (18:53 +0000)]
Merge 80370 from mainline.
Short-term workaround for frame-related weirdness on win64.
Some other minor win64 fixes as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81690
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:54:18 +0000 (22:54 +0000)]
Fix PR4962.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81650
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:53:29 +0000 (22:53 +0000)]
Merge r81547 from mainline to fix PR4820.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81649
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:50:39 +0000 (22:50 +0000)]
Merge 81422 from mainline.
Proper support of non-lazy indirect symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81648
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:49:19 +0000 (22:49 +0000)]
Merge 80404 from mainline.
Let Darwin linker auto-synthesize stubs and lazy-pointers. This deletes a bunch of nasty code in ARM asm printer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81647
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:30:53 +0000 (22:30 +0000)]
Merge 81403 from mainline.
Fix double load / store multiple encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81641
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:29:41 +0000 (22:29 +0000)]
Merge 81311 from mainline.
Make sure to make stub region writable before emission, executable after emission.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81640
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:28:38 +0000 (22:28 +0000)]
Merge 81310 from mainline.
Fix arm jit encoding bug introduced by 75048. Some instructions', e.g. MOVi, bit 25 should be set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81639
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:26:39 +0000 (22:26 +0000)]
Merge 81308 from mainline.
Make sure the memory range is writable before memset'ing it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81638
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 12 Sep 2009 22:25:41 +0000 (22:25 +0000)]
Merge 81240 from mainline.
Do not specify -mmacosx-version-min if building for arm-apple-darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81637
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 10 Sep 2009 00:25:22 +0000 (00:25 +0000)]
Merge 81327 from mainline.
Add testcase for r81322 (PR4933).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81412
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 10 Sep 2009 00:20:28 +0000 (00:20 +0000)]
Merge 81343 from mainline.
When widening a vector load, use the correct chain. This fixes PR4891.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81411
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 10 Sep 2009 00:18:43 +0000 (00:18 +0000)]
Merge 81322 from mainline.
Provide proper section flags for various BSS flavours
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81410
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 8 Sep 2009 23:30:18 +0000 (23:30 +0000)]
Merge 81205 from mainline.
Unbreak this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81271
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 8 Sep 2009 23:29:08 +0000 (23:29 +0000)]
Merge 81204 from mainline (with minor tweak).
When remat'ing and destination virtual register has a sub-register index. Make sure the sub-register class matches the register class of the remat'ed instruction definition register class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81270
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 8 Sep 2009 23:19:21 +0000 (23:19 +0000)]
Merge 81187 from mainline.
fix PR4767, a crash because fp stackifier visited blocks in
depth first order, so it wouldn't process unreachable blocks.
When compiling at -O0, late dead block elimination isn't done
and the bad instructions got to isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81268
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 8 Sep 2009 20:36:35 +0000 (20:36 +0000)]
Include file is necessary for 80768 that was merged in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81253
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 19:52:18 +0000 (19:52 +0000)]
Merge 80863 from mainline.
Improve llvm::getHostTriple for some cases where the LLVM_HOSTTRIPLE is not
reliable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81033
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 19:45:24 +0000 (19:45 +0000)]
Merge 80872 from mainline.
Fixed a test that ensures the LocalRewriter does not attempt to
avoid reloads by reusing clobbered registers.
This was causing issues in 256.bzip2 when compiled with PIC for
a while (starting at r78217), though the problem has since been masked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81032
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 19:29:42 +0000 (19:29 +0000)]
Merge 80805 from mainline.
Fix the syntax of add/sub/mul nsw/nuw and sdiv exact.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81031
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 19:27:52 +0000 (19:27 +0000)]
Merge 80780 from mainline.
Opaque types didn't work if llvm_is_multithreaded().
AlwaysOpaqueTy is always NULL at this point, and it causes an assertion failure.
Fix it by using the just constructed tmp instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81030
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 19:26:38 +0000 (19:26 +0000)]
Merge 80768 from mainline.
fix PR4815: some cases where DeleteDeadInstruction can delete
the instruction BBI points to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81029
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 19:24:58 +0000 (19:24 +0000)]
Merge 80762 from mainline.
fix PR4848 an infinite loop when indexing down through a recursive gep
and we get the original pointer type. This doesn't mean that we're
at the first pointer being indexed. Correct the predicate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81028
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 19:22:51 +0000 (19:22 +0000)]
Merge 80761 from mainline.
fix PR4837, some bugs folding vector compares. These
return a vector of i1, not i1 itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81027
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 4 Sep 2009 18:42:45 +0000 (18:42 +0000)]
Merge 80742 from mainline.
Fix PR4845: r77946 completely broke x86_64 Darwin (or any situation where the
desired triplet is a sub-target, e.g. thumbv7 vs. arm host). Reverting the
patch isn't quite right either since the previous behavior does not allow the
triplet to be overridden with -march.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81023
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 07:02:49 +0000 (07:02 +0000)]
Merge r80213 from mainline.
For now, only run MC tests if X86 is configured.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80565
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:59:49 +0000 (06:59 +0000)]
Merge 79737 from mainline.
Force triple for these tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80564
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:58:09 +0000 (06:58 +0000)]
Merge 79862 from mainline.
Fix off-by-one in llvm::Format::print.
- This also shortens the Format.h implementation, and uses the print buffer
fully (it was wasting a character).
- This manifested as llvm-test failures, because one side effect was that
raw_ostream would write garbage '\x00' values into the output stream if it
happened that the string was at the end of the buffer. This meant that grep
would report 'Binary file matches', which meant the silly pattern matching
llvm-test eventually does would fail. Cute. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80563
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:52:19 +0000 (06:52 +0000)]
Merge from mainline.
This is passing for PPC on Mac OS X.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80561
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:43:15 +0000 (06:43 +0000)]
Merge from mainline.
Make sure we specify no arguments for context functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80560
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:33:31 +0000 (06:33 +0000)]
Merge from mainline.
This should use isIndenticalToWhenDefined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80554
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:32:45 +0000 (06:32 +0000)]
Merge from mainline.
Rename Instruction::isIdenticalTo to Instruction::isIdenticalToWhenDefined,
and introduce a new Instruction::isIdenticalTo which tests for full
identity, including the SubclassOptionalData flags. Also, fix the
Instruction::clone implementations to preserve the SubclassOptionalData
flags. Finally, teach several optimizations how to handle
SubclassOptionalData correctly, given these changes.
This fixes the counterintuitive behavior of isIdenticalTo not comparing
the full value, and clone not returning an identical clone, as well as
some subtle bugs that could be caused by these.
Thanks to Nick Lewycky for reporting this, and for an initial patch!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80553
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:29:32 +0000 (06:29 +0000)]
Merge from mainline.
When undoing a reuse in ReuseInfo::GetRegForReload, check if it was only a
sub-register being used. The MachineOperand::getSubReg() method is only valid
for virtual registers, so we have to recover the sub-register index manually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80552
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:28:24 +0000 (06:28 +0000)]
Merge from mainline.
Special-case static allocas in IndVarSimplify's loop invariant
sinking code, since they are special. If the loop preheader happens
to be the entry block of a function, don't sink static allocas
out of it. This fixes PR4775.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80551
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:27:22 +0000 (06:27 +0000)]
merge from mainline
Fix PR4772 ARM JIT.GlobalInFuction unittest by explicitly initialize MMI
to 0 during JITEmitter constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80550
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:25:32 +0000 (06:25 +0000)]
Merge from mainline.
Don't install FileCheck man page
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80549
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:24:03 +0000 (06:24 +0000)]
Merge from mainline.
Don't install FileCheck and FileUpdate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80548
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:14:19 +0000 (06:14 +0000)]
Merge from mainline
Try to fix MSVC build after r79846.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80544
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 31 Aug 2009 06:12:11 +0000 (06:12 +0000)]
Merge from mainline.
Fix non-determinism in DAGISel emitter.
- This manifested as non-determinism in the .inc output in rare cases (when two
distinct patterns ended up being equivalent, which is rather rare). That
meant the pattern matching was non-deterministic, which could eventually mean
the code generator selected different instructions based on the arch.
- It's probably worth making the DAGISel ensure a total ordering (or force the
user to), but the simple fix here is to totally order the Record* maps based
on a unique ID.
- PR4672, PR4711.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80543
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 23 Aug 2009 03:07:48 +0000 (03:07 +0000)]
Merge 79736 from mainline.
llvm-mc: Hopefully fix Mach-O tests on big-endian platforms, force values to be
converted to Python ints if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@79810
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 20:59:52 +0000 (20:59 +0000)]
Regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@79770
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 20:59:42 +0000 (20:59 +0000)]
Set release number and update copyright date while we are at it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@79769
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 20:41:28 +0000 (20:41 +0000)]
Merge 79741 from mainline.
Some dummy cost model for s390x:
- Prefer short-imm instructions over ext-imm, when possible
- Prefer Z10 instructions over Z9, when possible
This hopefully should fix some dejagnu test fails on solaris
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@79761
91177308 -0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 04:09:29 +0000 (04:09 +0000)]
Create 2.6 release branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@79722
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 04:07:34 +0000 (04:07 +0000)]
revert r79708 + r79711
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79720
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Sat, 22 Aug 2009 03:13:10 +0000 (03:13 +0000)]
Make x86 test actually test x86 code generation. Fix the
construct on ARM, which was breaking by coincidence, and add a similar
testcase for ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79719
91177308 -0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Sat, 22 Aug 2009 02:28:46 +0000 (02:28 +0000)]
Add new intrinsics for Neon vldN_lane and vstN_lane operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79716
91177308 -0d34-0410-b5e6-
96231b3b80d8
Edward O'Callaghan [Sat, 22 Aug 2009 02:17:22 +0000 (02:17 +0000)]
Note down a few bits and bobs off the top of my head for ReleaseNotes-2.6.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79715
91177308 -0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Sat, 22 Aug 2009 01:42:39 +0000 (01:42 +0000)]
Add basic information about SJLJ EH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79714
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 00:44:24 +0000 (00:44 +0000)]
rename test, make more specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79712
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Sat, 22 Aug 2009 00:41:47 +0000 (00:41 +0000)]
Actually remove unused static. Previous commit removed trailing
whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79711
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Sat, 22 Aug 2009 00:40:45 +0000 (00:40 +0000)]
Remove unused static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79710
91177308 -0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Sat, 22 Aug 2009 00:29:12 +0000 (00:29 +0000)]
Ease contention on this lock by noticing that all writes to the VTs array will
be of (dynamically) constant values, so races on it are immaterial. We just need
to ensure that at least one write has completed before return the pointer into it.
With this change, parllc exhibits essentially no overhead on 403.gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79708
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sat, 22 Aug 2009 00:28:50 +0000 (00:28 +0000)]
Add missing RUN line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79707
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sat, 22 Aug 2009 00:18:11 +0000 (00:18 +0000)]
Reduce the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79703
91177308 -0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Sat, 22 Aug 2009 00:13:23 +0000 (00:13 +0000)]
Use CHECK-NEXT to make sure we're only getting one copy of each shuffle
instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79702
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Fri, 21 Aug 2009 23:30:30 +0000 (23:30 +0000)]
Make unit-at-a-time on by default to match the behavior of llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79698
91177308 -0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:30:15 +0000 (23:30 +0000)]
llvm-mc: Improve handling of implicit alignment for magic section directives
(e.g., .objc_message_refs).
- Just emit a .align when we see the directive; this isn't exactly what 'as'
does but in practice it should be ok, at least for now. See FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79697
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Fri, 21 Aug 2009 23:29:40 +0000 (23:29 +0000)]
Kill trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79696
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:13:12 +0000 (23:13 +0000)]
remove the directory too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79692
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:12:47 +0000 (23:12 +0000)]
Revert r79563
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79691
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:12:15 +0000 (23:12 +0000)]
revert r79562 + r79563
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79690
91177308 -0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:11:36 +0000 (23:11 +0000)]
Make MSVC happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79689
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 23:09:47 +0000 (23:09 +0000)]
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79688
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:08:45 +0000 (23:08 +0000)]
revert r79631
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79686
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:08:09 +0000 (23:08 +0000)]
revert 79631
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79685
91177308 -0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:07:38 +0000 (23:07 +0000)]
llvm-mc/Mach-O: Support .o emission for .org and .align.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79684
91177308 -0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:01:53 +0000 (23:01 +0000)]
llvm-mc: In a .fill directive, still honor .align even if invalid maximum bytes
count is given (this matches 'as').
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79683
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 22:10:30 +0000 (22:10 +0000)]
Implement APInt <-> APFloat conversion for IEEE 128-bit floats.
This fixes PR2555
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79677
91177308 -0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 21:58:55 +0000 (21:58 +0000)]
Rename ARM "lane_cst" operands to "nohash_imm" since they are used for
several things other than Neon vector lane numbers. For inline assembly
operands with a "c" print code, check that they really are immediates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79676
91177308 -0d34-0410-b5e6-
96231b3b80d8
Reid Kleckner [Fri, 21 Aug 2009 21:03:57 +0000 (21:03 +0000)]
Fix a bug where the DWARF emitter in the JIT was not initializing alignment
bytes. libgcc doesn't seem to mind, but if you pass this DWARF to GDB, it
doesn't like it.
Also make the JIT memory manager to initialize it's memory to garbage in debug
mode, so that it's easier to find bugs like these in the future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79674
91177308 -0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 20:54:19 +0000 (20:54 +0000)]
Match VTRN, VZIP, and VUZP shuffles. Restore the tests for these operations,
now using shuffles instead of intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79673
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 20:02:37 +0000 (20:02 +0000)]
Add fcopysign instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79664
91177308 -0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 21 Aug 2009 19:59:12 +0000 (19:59 +0000)]
Try again at privatizing the layout info map, with a rewritten patch.
This preserves the existing behavior much more closely than my previous attempt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79663
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:52:42 +0000 (18:52 +0000)]
Expand few nodes until someone will be crazy enough to implement them natively :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79659
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:41:02 +0000 (18:41 +0000)]
Typo :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79657
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:37:28 +0000 (18:37 +0000)]
Correct instruction names for subtract-with-borrow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79656
91177308 -0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 18:29:01 +0000 (18:29 +0000)]
llvm-mc/Mach-O: Support byte and fill value emission.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79652
91177308 -0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 21 Aug 2009 18:27:26 +0000 (18:27 +0000)]
Don't assume that the operand of an inttoptr is an pointer-sized integer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79651
91177308 -0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 21 Aug 2009 18:16:06 +0000 (18:16 +0000)]
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79649
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:15:41 +0000 (18:15 +0000)]
Handle 'r' inline asm constraint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79648
91177308 -0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 17:41:48 +0000 (17:41 +0000)]
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79643
91177308 -0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Fri, 21 Aug 2009 17:16:10 +0000 (17:16 +0000)]
Fix a problem noticed by gcc-4.4:
warning: comparison is always true due to limited range of data type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79642
91177308 -0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 21 Aug 2009 16:52:54 +0000 (16:52 +0000)]
Change getelementptr folding to use APInt instead of uint64_t for
offset computations. This fixes a truncation bug on targets that
don't have 64-bit pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79639
91177308 -0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 16:35:24 +0000 (16:35 +0000)]
Add some tests for vext.16 and vext.32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79638
91177308 -0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 16:17:36 +0000 (16:17 +0000)]
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636
91177308 -0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 15:43:35 +0000 (15:43 +0000)]
llvm-mc: Accept .fill size of 8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79635
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 15:41:56 +0000 (15:41 +0000)]
Fix a typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79634
91177308 -0d34-0410-b5e6-
96231b3b80d8
Andreas Neustifter [Fri, 21 Aug 2009 15:27:35 +0000 (15:27 +0000)]
Removed profiling test, lli not available on all platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79633
91177308 -0d34-0410-b5e6-
96231b3b80d8
Sanjiv Gupta [Fri, 21 Aug 2009 15:22:33 +0000 (15:22 +0000)]
Add a pass to do call graph analyis to overlay the autos and frame sections of
leaf functions. This pass will be extended to color other nodes of the call tree
as well in future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79631
91177308 -0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Fri, 21 Aug 2009 13:59:49 +0000 (13:59 +0000)]
Fix build on platforms where stdint.h is not implicitly included in the standard headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79629
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:50:54 +0000 (12:50 +0000)]
More cpp backend fixes. Now for FP stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79626
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:41:42 +0000 (12:41 +0000)]
Fix some typos and use type-based isel for VZIP/VUZP/VTRN
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79625
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:41:24 +0000 (12:41 +0000)]
Add lowering of ARM 4-element shuffles to multiple instructios via perfectshuffle-generated table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79624
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:41:03 +0000 (12:41 +0000)]
Add simple cost model to perfect shuffle. Currently we're doing just greedy search for cost instead of (proper) dynamic programming approach.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79623
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:40:50 +0000 (12:40 +0000)]
Add nodes & dummy matchers for some v{zip,uzp,trn} instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79622
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:40:35 +0000 (12:40 +0000)]
Expand EXTRACT_SUBVECTOR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79621
91177308 -0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:40:21 +0000 (12:40 +0000)]
Provide vext.{16,32}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79620
91177308 -0d34-0410-b5e6-
96231b3b80d8