Tanya Lattner
4bbf07421f
Commit 2.7 release notes.
...
Update getting started guide for 2.7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@102412 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-27 06:53:59 +00:00
Tanya Lattner
c91a455c98
Merge 102239 from mainline to fix PR6835
...
-gThis line, and those below, will be ignored--
M Makefile.rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@102310 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-25 19:18:33 +00:00
Tanya Lattner
690b417935
Merge r100936 from mainline to fix PR6760.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@101137 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-13 16:34:45 +00:00
Tanya Lattner
5b85c47659
Merge r100559 from mainline to fix PR6696.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@100851 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-09 05:05:41 +00:00
Tanya Lattner
a485235170
Merge 100438 from mainline.
...
Push const through the regex engine. Fixes some of the warnings in PR6616.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@100450 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-05 18:44:01 +00:00
Tanya Lattner
3be1985a12
Merge 98095 from mainline. Fix for PR5893.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99958 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-30 23:03:45 +00:00
Tanya Lattner
dd99d9b297
Merge 98074 from mainline. Fix for PR5893.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99956 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-30 23:03:09 +00:00
Tanya Lattner
dd77fb6ec0
Merge 99620 from mainline.
...
Do not sibcall if stack needs to be dynamically aligned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99955 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-30 23:01:26 +00:00
Tanya Lattner
78701d41a0
Merge 99762 from mainline.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99908 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-30 18:36:57 +00:00
Tanya Lattner
c524bff18b
Merge 99043 from mainline.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99907 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-30 18:35:26 +00:00
Tanya Lattner
9d8d8ba384
Merge 98701 from mainline.
...
Fix death tests in -Assert builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99906 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-30 18:33:25 +00:00
Tanya Lattner
61d290633f
Merge 99032 from mainline.
...
If call result is in ST0 and it is not being passed to the caller's
caller, then it is not safe to optimize the call into a sibcall since
the call result has to be popped off the x87 stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99293 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-23 17:16:35 +00:00
Tanya Lattner
52ce29de2b
Merge 98977 from mainline.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99292 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-23 17:15:19 +00:00
Tanya Lattner
0afc8f4e10
Merge r98845 from mainline.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99291 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-23 17:11:51 +00:00
Tanya Lattner
8a4f9390d0
Merge 98561 from mainline.
...
Avoid sibcall optimization if either caller or callee is using sret semantics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99290 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-23 17:06:56 +00:00
Tanya Lattner
434622b0d1
Merge r98416 from mainline.
...
Fix a typo in ValueTracking that's causing instcombine to delete needed shift instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99289 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-23 16:58:02 +00:00
Tanya Lattner
4fb3333992
Update version number.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98997 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-19 21:30:15 +00:00
Tanya Lattner
ae0153ed18
Merge r98985 from mainline.
...
Update copyright.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98996 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-19 21:29:27 +00:00
Tanya Lattner
50f480e2f9
Doc patch for the branch only.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98314 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-12 00:16:00 +00:00
Tanya Lattner
e65220d4ef
Merge 97980 from mainline.
...
Add documentation on sibling call optimization. Rename tailcall2.ll test to sibcall.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98313 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-12 00:12:20 +00:00
Tanya Lattner
331861af2e
Merge 97974 from mainline.
...
Iterator traits and swap. closes PR6548 and PR6549
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98312 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-12 00:10:21 +00:00
Tanya Lattner
bd437166bc
Merge 97965 from mainline.
...
Update the OCaml Kaleidoscope tutorial.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98311 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-12 00:09:10 +00:00
Tanya Lattner
c58daa2d51
Merge 98205 from mainline.
...
Work around a bug in the openbsd assembler on i386,
which doesn't support .quad correctly because it is
"really really old". PR6528.
Yet another reason the mc assembler should take over ;-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98309 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-12 00:03:18 +00:00
Tanya Lattner
5b78ac5d8e
Merge 98171 from mainline.
...
PR6540: Set the newly introduced variables ENABLE_SHARED and
SHLIBPATH_VAR in lit.site.cfg not only in the autoconf build, but also
in a cmake one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98308 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-12 00:00:12 +00:00
Tanya Lattner
0d80090979
Merge 98212 from mainline.
...
add support, testcases, and dox for the new GHC calling
convention. Patch by David Terei!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98307 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-11 23:59:04 +00:00
Tanya Lattner
bf9f9dae76
Merge 98203 from mainline.
...
fix PR6533 by updating the br(xor) code to remember the case
when it looked past a trunc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98306 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-11 23:57:44 +00:00
Tanya Lattner
d78e2aaff2
Merge r98193 from mainline.
...
add DESTDIR support for TOOLALIAS, for PR6557, patch by
Matthias Klose!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98303 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-11 23:47:58 +00:00
Tanya Lattner
dfbd083efb
Merge 98042.
...
Don't try to fold V_SET0 and V_SETALLONES to loads in medium and
large code models.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98301 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-11 23:41:22 +00:00
Tanya Lattner
7c27862690
Create 2.7 release branch.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@97934 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-08 05:02:37 +00:00
Chris Lattner
9a1ac4c107
remove a non-temporal store pattern which is not tested and
...
could never have matched because the operand list was backwards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97933 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-08 03:18:28 +00:00
Douglas Gregor
1ddcf35b68
Revert r97917, which was causing Clang Debug self-host failures.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97932 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-08 02:58:37 +00:00
Jeffrey Yasskin
6fec233a1e
Roll back r97918 again. Just configuring against llvm-gcc wasn't enough to run
...
the FrontendC* tests. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97921 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 19:26:40 +00:00
Jeffrey Yasskin
92ce42f9fc
Reapply r97788 to free MDNodes when the LLVMContext is destroyed. It
...
bootstraps llvm-gcc this time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97918 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 18:46:57 +00:00
Jeffrey Yasskin
9467f0e3bd
Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97917 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 17:10:13 +00:00
Tobias Grosser
8f9db4c1d5
Add findNearestCommonDominator() for PostDominators.
...
Add a missing interface to be able to call findNearestCommonDominator
for a PostDominanceTree. The function itself is already implemented in
DominatorTreeBase. The interface however was only added to the
DominatorTree class, but not the PostDominatorClass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97915 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 11:15:04 +00:00
Chris Lattner
acee647b13
Use Other as a sentinel instead of iAny.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97914 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 07:45:08 +00:00
Chris Lattner
81d6d52592
turn off debug spew
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97912 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 07:21:24 +00:00
Chris Lattner
6fd326b7ff
more factoring.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97911 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 07:20:49 +00:00
Jeffrey Yasskin
8c42ca9374
_2_ gcc crashes, ah, ah, ah...
...
(Rolling back r97906.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97909 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 07:16:49 +00:00
Chris Lattner
9cdd9659c3
teach tblgen to be more aggressive when factoring CheckType nodes.
...
Now it will factor things like this:
CheckType i32
...
CheckOpcode ISD::AND
CheckType i64
...
into:
SwitchType:
i32: ...
i64:
CheckOpcode ISD::AND
...
This shrinks hte table by a few bytes, nothing spectacular.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97908 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 07:01:28 +00:00
Jeffrey Yasskin
f7399bf929
Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by Valgrind!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97906 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 06:55:35 +00:00
Chris Lattner
48aa5756a2
add some helper functions and implement isContradictory
...
for CheckValueTypeMatcher. The isContradictory implementation
helps us factor better, shrinking x86 table from 79144 -> 78896
bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97905 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 06:29:26 +00:00
Chris Lattner
98f15d27cd
tidy up
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97895 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07 04:28:09 +00:00
Wesley Peck
c2bf2bbe93
Re-committing the failed r97807 commit with changes to eliminate warnings.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97891 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06 23:23:12 +00:00
Nick Lewycky
e20ab4a03c
Add verification of union types.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97889 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06 20:26:48 +00:00
Anton Korobeynikov
e765f2b5e3
Describe what's going on with mingw alloca and why do we need separate instruction.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97888 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06 20:07:32 +00:00
Anton Korobeynikov
ce7bf1c55f
Initial bits of ARMv4-only support.
...
Patch by John Tytgat!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97886 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06 19:39:36 +00:00
Anton Korobeynikov
043f3c2a0e
Lower dynamic stack allocation on mingw32 to separate instruction.
...
We cannot use a normal call here since it has extra unmodelled side
effects (it changes stack pointer). This should fix PR5292.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97884 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06 19:32:29 +00:00
Chris Lattner
0ddda3b8c6
make APFloat::toString be const.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97883 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06 19:20:13 +00:00
Chris Lattner
1c383ca2ef
disable this for mingw as well, we really need a 'has no dynamic linking' predicate.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97882 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06 18:54:37 +00:00