Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
compare: RELEASE_26
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Aug 22, 2009
Tanya Lattner Create 2.6 release branch.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@79722 91177308-0d34-0410-b5e6-96231b3b80d8
90496d8
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@79761 91177308-0d34-0410-b5e6-96231b3b80d8
8dd989d
Tanya Lattner Set release number and update copyright date while we are at it.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@79769 91177308-0d34-0410-b5e6-96231b3b80d8
3acc4c3
Tanya Lattner Regenerate configure.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@79770 91177308-0d34-0410-b5e6-96231b3b80d8
6e41849
Commits on Aug 23, 2009
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@79810 91177308-0d34-0410-b5e6-96231b3b80d8
dc16b72
Commits on Aug 31, 2009
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80543 91177308-0d34-0410-b5e6-96231b3b80d8
712cfe5
Tanya Lattner Merge from mainline
Try to fix MSVC build after r79846.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80544 91177308-0d34-0410-b5e6-96231b3b80d8
5eb7402
Tanya Lattner Merge from mainline.
Don't install FileCheck and FileUpdate


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80548 91177308-0d34-0410-b5e6-96231b3b80d8
7cb660c
Tanya Lattner Merge from mainline.
Don't install FileCheck man page


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80549 91177308-0d34-0410-b5e6-96231b3b80d8
b06d428
Tanya Lattner merge from mainline
Fix PR4772 ARM JIT.GlobalInFuction unittest by explicitly initialize MMI 
to 0 during JITEmitter constructor.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80550 91177308-0d34-0410-b5e6-96231b3b80d8
30d8b70
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80551 91177308-0d34-0410-b5e6-96231b3b80d8
df4c7ff
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80552 91177308-0d34-0410-b5e6-96231b3b80d8
09251a1
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80553 91177308-0d34-0410-b5e6-96231b3b80d8
56d21cc
Tanya Lattner Merge from mainline.
This should use isIndenticalToWhenDefined.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80554 91177308-0d34-0410-b5e6-96231b3b80d8
3c76653
Tanya Lattner Merge from mainline.
Make sure we specify no arguments for context functions.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80560 91177308-0d34-0410-b5e6-96231b3b80d8
1460643
Tanya Lattner Merge from mainline.
This is passing for PPC on Mac OS X.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80561 91177308-0d34-0410-b5e6-96231b3b80d8
a8ac6ef
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80563 91177308-0d34-0410-b5e6-96231b3b80d8
bc1143d
Tanya Lattner Merge 79737 from mainline.
Force triple for these tests.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80564 91177308-0d34-0410-b5e6-96231b3b80d8
a26dc98
Tanya Lattner Merge r80213 from mainline.
For now, only run MC tests if X86 is configured.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80565 91177308-0d34-0410-b5e6-96231b3b80d8
504bde8
Commits on Sep 04, 2009
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81023 91177308-0d34-0410-b5e6-96231b3b80d8
d5f49fe
Tanya Lattner Merge 80761 from mainline.
fix PR4837, some bugs folding vector compares.  These
return a vector of i1, not i1 itself.



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81027 91177308-0d34-0410-b5e6-96231b3b80d8
5dc6327
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81028 91177308-0d34-0410-b5e6-96231b3b80d8
cf3a7ba
Tanya Lattner Merge 80768 from mainline.
fix PR4815: some cases where DeleteDeadInstruction can delete
the instruction BBI points to.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81029 91177308-0d34-0410-b5e6-96231b3b80d8
ff29b0d
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81030 91177308-0d34-0410-b5e6-96231b3b80d8
83e9039
Tanya Lattner Merge 80805 from mainline.
Fix the syntax of add/sub/mul nsw/nuw and sdiv exact.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81031 91177308-0d34-0410-b5e6-96231b3b80d8
f95d051
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81032 91177308-0d34-0410-b5e6-96231b3b80d8
fec7142
Tanya Lattner Merge 80863 from mainline.
Improve llvm::getHostTriple for some cases where the LLVM_HOSTTRIPLE is not
reliable.



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81033 91177308-0d34-0410-b5e6-96231b3b80d8
f0c319b
Commits on Sep 08, 2009
Tanya Lattner Include file is necessary for 80768 that was merged in.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81253 91177308-0d34-0410-b5e6-96231b3b80d8
9b2c168
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81268 91177308-0d34-0410-b5e6-96231b3b80d8
06bfc38
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81270 91177308-0d34-0410-b5e6-96231b3b80d8
e0fc804
Tanya Lattner Merge 81205 from mainline.
Unbreak this test.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81271 91177308-0d34-0410-b5e6-96231b3b80d8
6ca1e99
Commits on Sep 10, 2009
Tanya Lattner Merge 81322 from mainline.
Provide proper section flags for various BSS flavours



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81410 91177308-0d34-0410-b5e6-96231b3b80d8
39180d0
Tanya Lattner Merge 81343 from mainline.
When widening a vector load, use the correct chain. This fixes PR4891.



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81411 91177308-0d34-0410-b5e6-96231b3b80d8
5fd5bef
Tanya Lattner Merge 81327 from mainline.
Add testcase for r81322 (PR4933).


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81412 91177308-0d34-0410-b5e6-96231b3b80d8
7225342
Commits on Sep 12, 2009
Tanya Lattner Merge 81240 from mainline.
Do not specify -mmacosx-version-min if building for arm-apple-darwin.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81637 91177308-0d34-0410-b5e6-96231b3b80d8
8ce1c38
Tanya Lattner Merge 81308 from mainline.
Make sure the memory range is writable before memset'ing it.



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81638 91177308-0d34-0410-b5e6-96231b3b80d8
1593595
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81639 91177308-0d34-0410-b5e6-96231b3b80d8
39c61b4
Tanya Lattner Merge 81311 from mainline.
Make sure to make stub region writable before emission, executable after emission.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81640 91177308-0d34-0410-b5e6-96231b3b80d8
339385e
Tanya Lattner Merge 81403 from mainline.
Fix double load / store multiple encoding.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81641 91177308-0d34-0410-b5e6-96231b3b80d8
32763e9
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81647 91177308-0d34-0410-b5e6-96231b3b80d8
5006785
Tanya Lattner Merge 81422 from mainline.
Proper support of non-lazy indirect symbols.



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81648 91177308-0d34-0410-b5e6-96231b3b80d8
ac7d4bc
Tanya Lattner Merge r81547 from mainline to fix PR4820.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81649 91177308-0d34-0410-b5e6-96231b3b80d8
bb713a9
Tanya Lattner Fix PR4962.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81650 91177308-0d34-0410-b5e6-96231b3b80d8
c1023ad
Commits on Sep 13, 2009
Tanya Lattner Merge 80370 from mainline.
Short-term workaround for frame-related weirdness on win64.
Some other minor win64 fixes as well.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81690 91177308-0d34-0410-b5e6-96231b3b80d8
9f49799
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81691 91177308-0d34-0410-b5e6-96231b3b80d8
e9164c6
Tanya Lattner 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: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81693 91177308-0d34-0410-b5e6-96231b3b80d8
30fcf4c
Tanya Lattner Merge 81316 from mainline.
Make TypeBuilder's result depend on the LLVMContext it's passed.
TypeBuilder was using a local static variable to cache its result. This made it
ignore changes in its LLVMContext argument and always return a type constructed
from the argument to the first call.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81694 91177308-0d34-0410-b5e6-96231b3b80d8
ebe1de0
Tanya Lattner Merge 81655 from mainline.
fix for PR4960.
 - Could we just always implement this as __clear_cache for __GNUC__?


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81697 91177308-0d34-0410-b5e6-96231b3b80d8
936d068
Tanya Lattner Merge 80414 from mainline.
Make the augmentation size and next set of bytes agree on size,
and make the reference pointer size as it should be.

Fixes an abort on a testcase derived from libunwind's personality
test in 64-bit.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81701 91177308-0d34-0410-b5e6-96231b3b80d8
d2b8631
Tanya Lattner Merge 80146 from mainline.
If we're emitting additional CIEs due to personality functions
don't emit the default one. Explicitly check for the NULL
CIE later.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81702 91177308-0d34-0410-b5e6-96231b3b80d8
f1f9c40
Commits on Sep 16, 2009
Tanya Lattner Merge 81768 from mainline.
Enable the jit for llvm-config.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81972 91177308-0d34-0410-b5e6-96231b3b80d8
e652236
Tanya Lattner Merge 80960 from mainline.
If we've pushed registers onto the stack, but aren't adjusting the stack pointer
(i.e., there are no local variables and stuff), we still need to output FDE
information for the pushed registers.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81973 91177308-0d34-0410-b5e6-96231b3b80d8
000544f
Tanya Lattner Merge 81799 from mainline.
Make sure to initialize the fpm in the ocaml tutorial.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81974 91177308-0d34-0410-b5e6-96231b3b80d8
1a27cc8
Tanya Lattner Merge 81800 from mainline.
Expose initializing the native target for the execution engine.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81975 91177308-0d34-0410-b5e6-96231b3b80d8
0d69ea2
Tanya Lattner Merge 81810 from mainline.
When extending a memset range past the front, set the alignment of the
memset region to the alignment of the new start address.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81976 91177308-0d34-0410-b5e6-96231b3b80d8
45a7df6
Tanya Lattner Merge 81814 from mainline.
On x86-64, the 32-bit cmov doesn't actually clear the high 32-bit of
its result if the condition is false.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81977 91177308-0d34-0410-b5e6-96231b3b80d8
1cb81a4
Tanya Lattner Merge 81821 from mainline.
Don't pull a load through a callseq_start if the load's chain
has multiple uses, as one of the other uses may be on a path
to a different node above the callseq_start, because that
leads to a cyclic graph. This problem is exposed when
-combiner-global-alias-analysis is used. This fixes PR4880.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81978 91177308-0d34-0410-b5e6-96231b3b80d8
55120cb
Tanya Lattner Merge 81845 from mainline.
fix PR4963: folding insertvalue would sometimes turn a packed struct into
an unpacked one.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81980 91177308-0d34-0410-b5e6-96231b3b80d8
2d9e7ff
Tanya Lattner Merge 81888 from mainline.
Change the marker byte for stubs from 0xcd to 0xce (another form of
interrupt instruction, which shouldn't arise any other way).  0xcd is
also used by JITMemoryManager to initialize the buffer to garbage,
which means it could appear following a noreturn call even when
that is not a stub, confusing X86CompilationCallback2.  PR 4929.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81981 91177308-0d34-0410-b5e6-96231b3b80d8
2e9f7b7
Tanya Lattner Merge 80153 from mainline.
Rework getPersonalityIndex slightly - 0 is now a valid and not-NULL
personality function.



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@81982 91177308-0d34-0410-b5e6-96231b3b80d8
cdd1bc1
Commits on Sep 18, 2009
Tanya Lattner Fix PR5001 PR5002.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@82191 91177308-0d34-0410-b5e6-96231b3b80d8
0c65af6
Tanya Lattner Fix mingw for release.
Merge 82177 from mainline.
Use __attribute__((__used__)) if GCC >= 3.1 (seems to be the oldest GCC
supporting this attribute).


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@82192 91177308-0d34-0410-b5e6-96231b3b80d8
1227d52
Commits on Sep 21, 2009
Tanya Lattner Merge in fix for PR4910.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@82428 91177308-0d34-0410-b5e6-96231b3b80d8
acf2af5
Commits on Oct 01, 2009
Tanya Lattner Merge from mainline (reg).
Don't constant propagate byval pointers, since they are not really pointers, but
rather structs passed by value.
This fixes PR5038.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@83200 91177308-0d34-0410-b5e6-96231b3b80d8
e10b910
Commits on Oct 12, 2009
Tanya Lattner Merge 83391 from mainline.
Fix PR5112, a miscompilation on gcc-4.0.3.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@83858 91177308-0d34-0410-b5e6-96231b3b80d8
d8b8303
Tanya Lattner Merge 83417 from mainline.
r83391 was completely broken since Twines keep references to their inputs, and
some of the inputs were temporaries.  Here's a real fix for the miscompilation.
Thanks to sabre for pointing out the problem.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@83859 91177308-0d34-0410-b5e6-96231b3b80d8
5a5cbba
Commits on Oct 13, 2009
Tanya Lattner Merge 79729 from mainline.
Change SmallString::operator{=,+=} to take a StringRef.



git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@83946 91177308-0d34-0410-b5e6-96231b3b80d8
56ad5ce
Commits on Oct 23, 2009
Tanya Lattner Merge in release notes.
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@84933 91177308-0d34-0410-b5e6-96231b3b80d8
4af1938
Tanya Lattner Add 2.6
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@84935 91177308-0d34-0410-b5e6-96231b3b80d8
3e41359
Commits on Oct 24, 2009
Tanya Lattner Merge 80596 from mainline.
Mark test as passing on all x86, which it should,
although I don't think anyone cares about this
feature except Darwin.  PR 4825.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@84985 91177308-0d34-0410-b5e6-96231b3b80d8
b1a44ef