Chris Lattner
2e2fa87d6b
move the section for string-like containers to follow the section for sequential containers.
...
llvm-svn: 135799
2011-07-22 20:46:49 +00:00
Jay Foad
42463ed852
Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to use
...
ArrayRef.
llvm-svn: 135761
2011-07-22 08:16:57 +00:00
Eli Friedman
cbbabe6d39
Some LangRef tweaks, per Dan's comments.
...
llvm-svn: 135744
2011-07-22 03:04:45 +00:00
Jay Foad
0d9ce71ae1
Sort case-insensitively.
...
llvm-svn: 135674
2011-07-21 14:42:51 +00:00
Jay Foad
d4458dd707
Convert ConstantExpr::getGetElementPtr and
...
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
2011-07-21 14:31:17 +00:00
NAKAMURA Takumi
83acc80027
docs/GettingStarted.html: Tweak style.
...
llvm-svn: 135637
2011-07-20 23:37:51 +00:00
NAKAMURA Takumi
4634322bf4
docs/GettingStarted.html: Fix a typo and tweak a command line.
...
llvm-svn: 135632
2011-07-20 22:58:28 +00:00
Eli Friedman
d9ac7681be
Commit LangRef changes for LLVM concurrency model. Start of supporting C++0x memory model and atomics. See thread on llvmdev titled "Reviving the new LLVM concurrency model".
...
llvm-svn: 135624
2011-07-20 21:35:53 +00:00
Bob Wilson
c7cb9841ca
Revert "Update docs to reflect r135457."
...
This reverts commit ba034c0a2e71303c7cf3f43ca8e69dc8436b32e2.
llvm-svn: 135485
2011-07-19 16:31:58 +00:00
Jay Foad
bbbf29aab7
Convert SimplifyGEPInst to use ArrayRef.
...
llvm-svn: 135482
2011-07-19 15:07:52 +00:00
Jay Foad
83a0e1fa99
Convert gep_type_begin and gep_type_end to use ArrayRef.
...
llvm-svn: 135481
2011-07-19 14:42:50 +00:00
Jay Foad
0974b71f17
Convert TargetData::getIndexedOffset to use ArrayRef.
...
llvm-svn: 135478
2011-07-19 14:01:37 +00:00
Jay Foad
ae5894c5cc
Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.
...
llvm-svn: 135477
2011-07-19 13:32:40 +00:00
Devang Patel
d1cdabf6dc
Update docs to reflect r135457.
...
llvm-svn: 135458
2011-07-19 01:04:39 +00:00
Jeffrey Yasskin
dd9a2cc0d2
Document how to maintain a git-svn clone of the LLVM git repositories.
...
llvm-svn: 135453
2011-07-19 00:20:54 +00:00
Chris Lattner
0acd1a9d12
document this api change.
...
llvm-svn: 135376
2011-07-18 04:56:02 +00:00
Chris Lattner
fde62dcdb7
introduce a new TinyPtrVector class.
...
llvm-svn: 135365
2011-07-18 01:40:02 +00:00
Eli Friedman
c8f855380b
A couple of minor fixes to the OCaml tutorial. PR10025 and PR10316. Patches by Damien Schoof!
...
llvm-svn: 135293
2011-07-15 20:03:30 +00:00
Jay Foad
c826df8fb7
Convert CallInst and InvokeInst APIs to use ArrayRef.
...
llvm-svn: 135265
2011-07-15 08:37:34 +00:00
Jay Foad
471e6f62b4
Mention all API changes I've made since 2.9 was branched.
...
llvm-svn: 135142
2011-07-14 09:19:05 +00:00
Tobias Grosser
c0e20d0db1
VectorType is also a SequentialType
...
llvm-svn: 134979
2011-07-12 11:37:02 +00:00
Chris Lattner
a106725fc5
Land the long talked about "type system rewrite" patch. This
...
patch brings numerous advantages to LLVM. One way to look at it
is through diffstat:
109 files changed, 3005 insertions(+), 5906 deletions(-)
Removing almost 3K lines of code is a good thing. Other advantages
include:
1. Value::getType() is a simple load that can be CSE'd, not a mutating
union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
uniques them. This means that the compiler doesn't merge them structurally
which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead
"const Type *" everywhere.
Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.
"LLVM 3.0" is the right time to do this.
There are still some cleanups pending after this, this patch is large enough
as-is.
llvm-svn: 134829
2011-07-09 17:41:24 +00:00
Cameron Zwarich
7375e5af26
Use add instead of accumulate.
...
llvm-svn: 134752
2011-07-08 22:13:55 +00:00
Cameron Zwarich
c23366d357
Add an intrinsic and codegen support for fused multiply-accumulate. The intent
...
is to use this for architectures that have a native FMA instruction.
llvm-svn: 134742
2011-07-08 21:39:21 +00:00
Jakub Staszak
4f5defff42
Add documenation about "branch_weight" metadata and __builtin_expect instruction
...
llvm-svn: 134517
2011-07-06 18:31:02 +00:00
Owen Anderson
dccc4e4b9a
Generalize @llvm.ctlz, @llvm.cttz, and @llvm.ctpop to work on vectors of integers, and fix the one optimization pass that I'm aware of that needs updating for this. At least one current target, ARM NEON, can implement these operations on vectors directly.
...
llvm-svn: 134265
2011-07-01 21:52:38 +00:00
Duncan Sands
b86ccb525d
The enum was moved to ISDOpcodes.h.
...
llvm-svn: 134134
2011-06-30 06:37:07 +00:00
Evan Cheng
91e568589d
Add missing operand. rdar://9694169
...
llvm-svn: 134078
2011-06-29 17:14:00 +00:00
Dan Gohman
6251ddaa83
Document nonlazybind.
...
llvm-svn: 133160
2011-06-16 16:03:13 +00:00
Jakob Stoklund Olesen
d89900e14c
Use set operations instead of plain lists to enumerate register classes.
...
This simplifies many of the target description files since it is common
for register classes to be related or contain sequences of numbered
registers.
I have verified that this doesn't change the files generated by TableGen
for ARM and X86. It alters the allocation order of MBlaze GPR and Mips
FGR32 registers, but I believe the change is benign.
llvm-svn: 133105
2011-06-15 23:28:14 +00:00
Argyrios Kyrtzidis
c9fe78d77e
Document ADT/PackedVector.h in "Programmer's Manual" doc.
...
llvm-svn: 133077
2011-06-15 19:56:01 +00:00
Bruno Cardoso Lopes
b6afc5168f
Add one more argument to the prefetch intrinsic to indicate whether it's a data
...
or instruction cache access. Update the targets to match it and also teach
autoupgrade.
llvm-svn: 132976
2011-06-14 04:58:37 +00:00
Chris Lattner
71a35fd7e7
mention graph vis isn't available in Release builds.
...
llvm-svn: 132916
2011-06-13 15:59:35 +00:00
Chad Rosier
dde3ea46e9
Typo.
...
llvm-svn: 132730
2011-06-07 20:03:13 +00:00
Andrew Trick
e9e48acf00
Corrections and additional information for "Creating and LLVM Project"
...
documentation. This should now reflect the current state of LLVM Makefiles.
llvm-svn: 132527
2011-06-03 02:20:48 +00:00
Andrew Trick
fa7de8e32b
whitespace
...
llvm-svn: 132526
2011-06-03 02:16:53 +00:00
Devang Patel
67a308861a
Fix html formatting.
...
llvm-svn: 132345
2011-05-31 18:06:14 +00:00
Devang Patel
485b3d7ca4
Clarify documentation and remove guarantees that are not fulfilled.
...
llvm-svn: 132344
2011-05-31 17:45:27 +00:00
Chris Lattner
a2c4fe8eea
replace the intro tutorial from 2004 with a more recent work.
...
llvm-svn: 132310
2011-05-30 03:36:58 +00:00
John McCall
119a0222f5
Implement and document the llvm.eh.resume intrinsic, which is
...
transformed by the inliner into a branch to the enclosing landing pad
(when inlined through an invoke). If not so optimized, it is lowered
DWARF EH preparation into a call to _Unwind_Resume (or _Unwind_SjLj_Resume
as appropriate). Its chief advantage is that it takes both the
exception value and the selector value as arguments, meaning that there
is zero effort in recovering these; however, the frontend is required
to pass these down, which is not actually particularly difficult.
Also document the behavior of landing pads a bit better, and make it
clearer that it's okay that personality functions don't always land at
landing pads. This is just a fact of life. Don't write optimizations that
rely on pushing things over an unwind edge.
llvm-svn: 132253
2011-05-28 07:45:59 +00:00
Chad Rosier
a4732c4a96
Clean out the 2.9 Release Notes. Mostly limited to What's New in LLVM
...
and enhancements in sub-project status updates.
llvm-svn: 132227
2011-05-27 22:50:46 +00:00
Chad Rosier
fe86df1e51
Add change of crc32 intrinsic to release notes
...
llvm-svn: 132212
2011-05-27 20:13:10 +00:00
Dan Gohman
0181c67669
Fix copy+pastos.
...
llvm-svn: 132168
2011-05-27 00:36:31 +00:00
Dan Gohman
f2c4a47575
Update documentation: -basicaa does chaining these days.
...
llvm-svn: 132010
2011-05-24 22:01:32 +00:00
Dan Gohman
3dd68e8eca
Document llvm.exp and llvm.pow.
...
llvm-svn: 131921
2011-05-23 21:13:03 +00:00
Chris Lattner
9275a4413b
document thiscall, PR9101
...
llvm-svn: 131873
2011-05-22 22:28:47 +00:00
Chris Lattner
2be4296485
insertvalue takes a variable number of arguments, document this, fixing PR9935.
...
llvm-svn: 131850
2011-05-22 07:18:08 +00:00
Chad Rosier
2d11812d9a
Correct typos in TestingGuide.html
...
llvm-svn: 131546
2011-05-18 18:07:16 +00:00
Nick Lewycky
441a5d42ed
Fix errors in this llvm ir example.
...
llvm-svn: 131416
2011-05-16 19:29:30 +00:00
Akira Hatanaka
fe1f642eb1
1. Keep lines in 80 columns.
...
2. Remove unused function.
3. Correct indentation.
llvm-svn: 131028
2011-05-06 22:11:29 +00:00
Bill Wendling
08ab6e7d9c
Document the automatic alias printing of InstAliases.
...
llvm-svn: 130889
2011-05-04 23:40:14 +00:00
Devang Patel
f40a9eda2e
Use llvm.dbg.cu named metadata to collect compile units.
...
llvm-svn: 130756
2011-05-03 16:18:28 +00:00
Oscar Fuentes
37e20483df
Update instructions: LLVM.cmake is now LLVMConfig.cmake
...
llvm-svn: 130631
2011-05-01 02:12:20 +00:00
NAKAMURA Takumi
70fa3c7039
docs/doxygen.css: Tweak padding on memdoc.
...
llvm-svn: 130493
2011-04-29 09:59:12 +00:00
NAKAMURA Takumi
236c7ad0ca
docs/doxygen.css: Tweak style for readability.
...
A few styles are brought from http://llvm.org/test-doxygen/api/api.css
llvm-svn: 130333
2011-04-27 21:53:35 +00:00
Mikhail Glushenkov
0d5d2e214c
Regenerate.
...
llvm-svn: 130091
2011-04-24 14:17:37 +00:00
Andrew Trick
db92825944
Comment edit.
...
llvm-svn: 130047
2011-04-23 03:27:19 +00:00
NAKAMURA Takumi
ada5cc7c01
docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
...
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
FIXME: Care H5 better.
llvm-svn: 130040
2011-04-23 00:30:22 +00:00
Devang Patel
929bbb6bf9
Let front-end tie subprogram declaration with subprogram definition directly.
...
llvm-svn: 130028
2011-04-22 23:10:17 +00:00
NAKAMURA Takumi
e5837f1317
docs/llvm.css: Introduce cascading style <div> and <p> continued on <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html.
...
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
llvm-svn: 129901
2011-04-21 01:52:00 +00:00
NAKAMURA Takumi
b4d0713c60
docs/Passes.html: Fix a garbage.
...
llvm-svn: 129900
2011-04-21 01:32:19 +00:00
NAKAMURA Takumi
3edcd4ba6a
docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">.
...
H1 ... doc_title
H2 ... doc_section
H3 ... doc_subsection
H4 ... doc_subsubsection
llvm-svn: 129736
2011-04-18 23:59:50 +00:00
NAKAMURA Takumi
75a5311a8e
docs: Redefine Heading elements as below;
...
H1 ... Title (and might be Chapter in future)
H2 ... Section
H3 ... Subsection
H4 ... Sub-subsection
llvm-svn: 129683
2011-04-18 01:17:51 +00:00
Devang Patel
eddab1d186
Introduce support to encode Objective-C property information in debugging information generated for an interface.
...
llvm-svn: 129624
2011-04-16 00:11:51 +00:00
Douglas Gregor
054dd418ca
Fix some broken links, from Matthieu Monrocq
...
llvm-svn: 129609
2011-04-15 21:21:31 +00:00
Chris Lattner
0304b82f80
Fix a ton of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
llvm-svn: 129558
2011-04-15 05:18:47 +00:00
Andrew Trick
85a4af977a
Documented bugpoint --compile-custom --compile-command.
...
I've used it a few times to reduce unit tests and gotten one request for information on it. It's not easy to use correctly because bugpoint doesn't tell you when you're doing it wrong.
llvm-svn: 129507
2011-04-14 05:05:36 +00:00
Jay Foad
6466c4de3d
Fix typo.
...
llvm-svn: 129437
2011-04-13 13:03:56 +00:00
Dan Gohman
4b96ea3283
Fix a hole in the definition of "dependence" used by trap values. Trap
...
values are also transmitted through branches which cause side effects to
be skipped altogether.
llvm-svn: 129404
2011-04-12 23:05:59 +00:00
Oscar Fuentes
e77e5f940d
Document how to build a LLVM pass with CMake out of source.
...
Patch by arrowdodger!
llvm-svn: 129381
2011-04-12 19:40:35 +00:00
NAKAMURA Takumi
63fd32bda1
docs/CommandGuide/index.html: Fix CSS url to relative.
...
llvm-svn: 129268
2011-04-11 03:27:38 +00:00
NAKAMURA Takumi
522ce4a448
docs/CommandLine.html: "ize.
...
llvm-svn: 129267
2011-04-11 03:27:31 +00:00
Oscar Fuentes
2509b58c75
CMake: support for using LLVM from client projects with find_package.
...
Patch by arrowdodger!
llvm-svn: 129247
2011-04-10 16:17:49 +00:00
Oscar Fuentes
0185398e19
Reword instructions for running tests on Visual Studio.
...
Suggested by Maël Hörz.
llvm-svn: 129237
2011-04-10 01:41:55 +00:00
NAKAMURA Takumi
3a082d8a12
docs/*.html: Make W3C HTML 4.01 Strict more compliant.
...
FIXME: The logo handling in ReleaseNotes.html
llvm-svn: 129208
2011-04-09 09:51:57 +00:00
NAKAMURA Takumi
35b6a3c561
docs/tutorial/OCamlLangImpl7.html: Fix a href to missing Chapter 8.
...
llvm-svn: 129183
2011-04-09 02:14:41 +00:00
NAKAMURA Takumi
869d55fb5c
docs: Fix some in-package URLs.
...
(eg. trim http://llvm.org/docs/foo -> foo)
llvm-svn: 129182
2011-04-09 02:13:48 +00:00
NAKAMURA Takumi
940b366f8c
docs: Canonicalize URLs.
...
llvm-svn: 129181
2011-04-09 02:13:37 +00:00
Devang Patel
21b6ef4320
Simplify array bound checks and clarify comments. One element array can have same non-zero number as lower bound as well as upper bound.
...
llvm-svn: 129170
2011-04-08 23:39:38 +00:00
Devang Patel
39ac307002
Do not emit DW_AT_upper_bound and DW_AT_lower_bound for unbouded array.
...
If lower bound is more then upper bound then consider it is an unbounded array.
An array is unbounded if non-zero lower bound is same as upper bound.
If lower bound and upper bound are zero than array has one element.
llvm-svn: 129156
2011-04-08 21:55:10 +00:00
Bill Wendling
8bb9757054
Missing closed tag.
...
llvm-svn: 129155
2011-04-08 21:43:08 +00:00
Bruno Cardoso Lopes
fcd7917ed0
Also add the late notes for Mips in the current release note
...
llvm-svn: 129122
2011-04-08 03:06:22 +00:00
Jay Foad
9351e0c03e
Fix a bit of nonsense.
...
llvm-svn: 129073
2011-04-07 12:41:09 +00:00
Chris Lattner
c0cc11ce0f
add faust too
...
llvm-svn: 129053
2011-04-07 03:09:21 +00:00
Chris Lattner
af5e910e60
add a few late stragglers.
...
llvm-svn: 129052
2011-04-07 03:08:22 +00:00
Roman Divacky
ad7a68fff5
Fix a typo.
...
llvm-svn: 129019
2011-04-06 19:12:21 +00:00
Chris Lattner
6f4969e793
add rubinius
...
llvm-svn: 129006
2011-04-06 16:14:25 +00:00
Duncan Sands
dd20746250
Fix some typos. Minor tweaks to how some things were expressed.
...
llvm-svn: 128997
2011-04-06 08:07:40 +00:00
Jay Foad
c3de661aa8
Trivial typo fixes.
...
llvm-svn: 128996
2011-04-06 07:55:30 +00:00
Chris Lattner
a579f228bf
Finish up the first draft of the release notes.
...
improvements are welcome, please commit any changes directly to SVN.
llvm-svn: 128992
2011-04-06 06:29:50 +00:00
Chris Lattner
aa6816aa16
continue writing.
...
llvm-svn: 128990
2011-04-06 05:50:04 +00:00
Chris Lattner
a2c6b5c1c3
add the external users that emailed me.
...
llvm-svn: 128974
2011-04-06 01:13:49 +00:00
Chris Lattner
430be971a9
some libc++ notes.
...
llvm-svn: 128970
2011-04-06 00:59:18 +00:00
Chris Lattner
d1df6aa094
some edits.
...
llvm-svn: 128969
2011-04-06 00:56:12 +00:00
Chris Lattner
379ef843a9
distribute content out to the appropriate sections
...
llvm-svn: 128968
2011-04-06 00:45:11 +00:00
Chris Lattner
362c5df787
finished my pass through all the 2.9 commits, now to make this intelligible
...
llvm-svn: 128955
2011-04-05 23:22:33 +00:00
Chris Lattner
1dd86fd6f4
mention llvm::ArrayRef, which should be use much more pervasively than
...
it already is.
llvm-svn: 128954
2011-04-05 23:18:20 +00:00
Devang Patel
03d0891c10
Add support to encode function's template parameters.
...
llvm-svn: 128947
2011-04-05 22:52:06 +00:00
NAKAMURA Takumi
74a55198e0
docs/ReleaseNotes.html: Please use proper *Heading* elements instead of classified div.
...
It would be better to browse without stylesheet. (eg. on ViewVC)
llvm-svn: 128942
2011-04-05 21:55:14 +00:00
Chris Lattner
91618e9fd8
remove graphprinter support for domfrontier.
...
llvm-svn: 128938
2011-04-05 21:43:56 +00:00
Chris Lattner
bb45d35288
only 7 more weeks to go.
...
llvm-svn: 128933
2011-04-05 21:37:08 +00:00
Jakob Stoklund Olesen
e104258b57
Document llvm/ADT/IntEqClasses.h in ProgrammersManual.html
...
llvm-svn: 128927
2011-04-05 20:56:08 +00:00
Chris Lattner
85ebfdb7dd
more notes to self.
...
llvm-svn: 128902
2011-04-05 18:38:45 +00:00
NAKAMURA Takumi
b6e583dc5f
docs/ReleaseNotes.html: Add a few notes to MCCOFF and x64. FIXME: fixme!
...
llvm-svn: 128882
2011-04-05 08:24:22 +00:00
NAKAMURA Takumi
66a6d92da5
docs/GettingStarted.html: FIXME: dg, lit, and source tree layout.
...
llvm-svn: 128881
2011-04-05 08:24:15 +00:00
Chris Lattner
f3b6b30c34
add a bunch of notes to myself, this is not intended to be gramatic or
...
make sense to anyone else.
llvm-svn: 128879
2011-04-05 07:19:28 +00:00
Bill Wendling
6026cf5526
Add info on where to get 2.9 final svn sources.
...
llvm-svn: 128860
2011-04-04 23:42:51 +00:00
Duncan Sands
acc3119c41
Dragonegg release notes.
...
llvm-svn: 128812
2011-04-04 11:09:08 +00:00
Nick Lewycky
753ef5bbf0
Pick better examples. "fpext float 3.1415 to double" won't parse because 3.1415
...
isn't an exact float. Also "fpext float 1.0 to float" is invalid IR because
it's not performing an extension.
llvm-svn: 128647
2011-03-31 18:20:19 +00:00
Jay Foad
53632b7c03
Remove PHINode::reserveOperandSpace(). Instead, add a parameter to
...
PHINode::Create() giving the (known or expected) number of operands.
llvm-svn: 128537
2011-03-30 11:28:46 +00:00
Devang Patel
1b0c19617d
Document llvm.dbg.sp, llvm.dbg.gv and llvm.dbg.enum
...
llvm-svn: 128466
2011-03-29 17:27:08 +00:00
NAKAMURA Takumi
2bdbab1457
docs/GettingStarted.html: [PR8850] Add a note for x86_64-w64-mingw32.
...
llvm-svn: 128404
2011-03-28 06:27:12 +00:00
NAKAMURA Takumi
f77260b34b
docs/GettingStarted.html: Add blurb "--enable-shared" on cygming.
...
llvm-svn: 128403
2011-03-28 06:27:06 +00:00
Bill Wendling
fbff8d1e52
Remove redundant compression option.
...
llvm-svn: 128267
2011-03-25 06:43:59 +00:00
Chris Lattner
3385be615f
fix description, PR9542
...
llvm-svn: 128214
2011-03-24 16:13:31 +00:00
Eli Friedman
7963b9cbf1
Update Passes.html, part 3: alphabetize descriptions.
...
llvm-svn: 127948
2011-03-19 05:02:14 +00:00
Eli Friedman
12058955b2
Update Passes.html, part 2: cleanup a bit more dead docs, a few more
...
description updates.
llvm-svn: 127947
2011-03-19 04:55:29 +00:00
Eli Friedman
186b255541
Update Passes.html, part 1: remove passes which were removed from the tree,
...
update short descriptions to match those from the options, alphabetize table
of contents.
llvm-svn: 127946
2011-03-19 04:47:52 +00:00
Rafael Espindola
77b5251619
Some release notes.
...
llvm-svn: 127867
2011-03-18 04:07:44 +00:00
Cameron Zwarich
0f031dccab
Change the signext language in LangRef to closer match zeroext.
...
llvm-svn: 127808
2011-03-17 14:21:58 +00:00
Cameron Zwarich
2bb1e45ea3
The x86-64 ABI says that a bool is only guaranteed to be sign-extended to a byte
...
rather than an int. Thankfully, this only causes LLVM to miss optimizations, not
generate incorrect code.
This just fixes the zext at the return. We still insert an i32 ZextAssert when
reading a function's arguments, but it is followed by a truncate and another i8
ZextAssert so it is not optimized.
llvm-svn: 127766
2011-03-16 22:20:18 +00:00
Chris Lattner
bf47cbabd9
rip out llvm 2.8 release notes to make room for llvm 2.9 notes.
...
llvm-svn: 127399
2011-03-10 07:43:44 +00:00
Devang Patel
8108b711d9
Since last couple of days, argument number is encoded using 8 bits from line number field in argument's debug info.
...
llvm-svn: 127250
2011-03-08 16:29:40 +00:00
Devang Patel
21033e45be
Update DILexicalBlock doc to mention new fields.
...
llvm-svn: 127249
2011-03-08 16:25:29 +00:00
Duncan Sands
1e5b90b716
Clarify that the result of an srem is only guaranteed to have the same sign as the
...
left-hand-side if the result is non-zero.
llvm-svn: 127156
2011-03-07 09:12:24 +00:00
Bill Wendling
b0d3caf6c9
Fix tagging name.
...
llvm-svn: 127154
2011-03-07 07:37:12 +00:00
Chris Lattner
3867e5f48e
remove another jeff link
...
llvm-svn: 127135
2011-03-06 23:00:33 +00:00
Chris Lattner
bd5b38edb7
remove jeff's name (by his request)
...
llvm-svn: 127066
2011-03-05 07:23:02 +00:00
Oscar Fuentes
06f62a8581
Support for parallel compilation (/MP) when using the VS IDE.
...
Patch by Erik Olofsson!
llvm-svn: 126847
2011-03-02 17:47:37 +00:00
Bill Wendling
e65e2ba6c4
Small cleanup.
...
llvm-svn: 126821
2011-03-02 02:17:11 +00:00
Bill Wendling
bb975d9dcb
Update the documentation on "How to Release LLVM". It lays out a new way of
...
tagging and branching for the release. I will update this more throughout the
2.9 release process.
llvm-svn: 126604
2011-02-28 01:10:44 +00:00
Duncan Sands
ab32f19034
Fix typo pointed out in pr9339.
...
llvm-svn: 126573
2011-02-27 13:54:01 +00:00
Nadav Rotem
ab7cf630f4
Enable support for vector sext and trunc:
...
Limit the folding of any_ext and sext into the load operation to scalars.
Limit the active-bits trunc optimization to scalars.
Document vector trunc and vector sext in LangRef.
Similar to commit 126080 (for enabling zext).
llvm-svn: 126424
2011-02-24 21:01:34 +00:00
Oscar Fuentes
3a4a256da9
Remove the link to Projects.html. It is useless for people working on
...
Visual Studio.
llvm-svn: 126083
2011-02-20 15:34:12 +00:00
Nadav Rotem
1660c0bc25
Fix 9267; Add vector zext support.
...
The DAGCombiner folds the zext into complex load instructions. This patch
prevents this optimization on vectors since none of the supported targets
knows how to perform load+vector_zext in one instruction.
llvm-svn: 126080
2011-02-20 12:37:50 +00:00
Nick Lewycky
ff644b8ae6
Fix typo.
...
llvm-svn: 126065
2011-02-20 02:03:04 +00:00
Nick Lewycky
4e7ec00a1d
Fix thinko, basic blocks are SESE. The exits may have many edges though.
...
llvm-svn: 125709
2011-02-17 02:19:22 +00:00
Duncan Sands
061150ac1b
Spelling fix: consequtive -> consecutive.
...
llvm-svn: 125563
2011-02-15 09:23:02 +00:00
Chris Lattner
f661ea3f4a
Minor fixes to tutorial, patch by Benjamin Meyer!
...
llvm-svn: 125544
2011-02-15 00:24:32 +00:00
Tobias Grosser
971b2df868
Adapt docs to '-loopsimplify -> -loop-simplify' change
...
llvm-svn: 125469
2011-02-13 20:57:25 +00:00
Chris Lattner
6db1d329ce
attempt to capture recent discussion about overflow and inbounds geps.
...
llvm-svn: 125412
2011-02-11 21:50:52 +00:00
Erick Tryzelaar
bd07266baa
Don't run ocamldoc if it's not installed
...
llvm-svn: 125203
2011-02-09 18:32:04 +00:00
Chris Lattner
6fbe8f23a6
fix typo
...
llvm-svn: 125192
2011-02-09 16:44:44 +00:00
NAKAMURA Takumi
0056752911
Add testing stuff to CMake documents.
...
- Note "GnuWin32".
- Note LLVM_LIT_TOOLS_DIR
- Now we can run tests on VS w/e all tests might pass or not!
llvm-svn: 125177
2011-02-09 04:19:28 +00:00
Chris Lattner
2fd09e3397
implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr.
...
Factor some code better.
llvm-svn: 125006
2011-02-07 16:40:21 +00:00
Chris Lattner
7b6a968f5d
enhance vmcore to know that udiv's can be exact, and add a trivial
...
instcombine xform to exercise this.
Nothing forms exact udivs yet though. This is progress on PR8862
llvm-svn: 124992
2011-02-06 21:44:57 +00:00
Devang Patel
82e61a6ff3
Update docs to match reality.
...
llvm-svn: 124761
2011-02-03 00:22:17 +00:00
Anton Korobeynikov
4b076fdbdb
Document the LLVM GIT mirror
...
llvm-svn: 124677
2011-02-01 20:08:28 +00:00
Devang Patel
b61c9bfa72
Remove stale references of obsolete @llvm.dbg.variable.
...
llvm-svn: 124664
2011-02-01 17:22:12 +00:00
Nick Lewycky
9fe6ef1bed
Most browsers eliminate whitespace between anchor tags. Force whitespace with
...
so that the code reads properly.
llvm-svn: 124514
2011-01-29 01:09:53 +00:00
Oscar Fuentes
da69ba084d
Handles libffi on the CMake build.
...
Patch by arrowdodger!
llvm-svn: 123976
2011-01-21 15:42:54 +00:00
Chris Lattner
fa467f3d1b
finish a sentence.
...
llvm-svn: 123750
2011-01-18 06:12:10 +00:00
Rafael Espindola
fde74c53b6
Add a clarification about merging constants with and without unnamed_addr.
...
llvm-svn: 123530
2011-01-15 08:20:57 +00:00
Jakob Stoklund Olesen
aaec1aa6b6
Don't document exactly how virtual registers are represented as integers. Code
...
shouldn't depend directly on that.
Give an example of how to iterate over all virtual registers in a function
without depending on the representation.
llvm-svn: 123099
2011-01-08 23:10:59 +00:00
Rafael Espindola
9f526bcf4d
First step in fixing PR8927:
...
Add a unnamed_addr bit to global variables and functions. This will be used
to indicate that the address is not significant and therefore the constant
or function can be merged with others.
If an optimization pass can show that an address is not used, it can set this.
Examples of things that can have this set by the FE are globals created to
hold string literals and C++ constructors.
Adding unnamed_addr to a non-const global should have no effect unless
an optimization can transform that global into a constant.
Aliases are not allowed to have unnamed_addr since I couldn't figure
out any use for it.
llvm-svn: 123063
2011-01-08 16:42:36 +00:00
David Greene
e9b2fb7e0d
Rename lisp-like functions as suggested by Gabor Greif as loooong time
...
ago. This is both easier to learn and easier to read.
llvm-svn: 123001
2011-01-07 17:05:37 +00:00
Owen Anderson
a52e5dbdfa
Stub out a new updating interface to AliasAnalysis, allowing stateful analyses to be informed when
...
a pointer value has potentially become escaping. Implementations can choose to either fall back to
conservative responses for that value, or may recompute their analysis to accomodate the change.
llvm-svn: 122777
2011-01-03 21:38:41 +00:00
Owen Anderson
658a5c2101
We can count properly.
...
llvm-svn: 122773
2011-01-03 21:08:22 +00:00
David Greene
124695aed0
Reapply 122341 to fix PR8199 now that clang changes are in.
...
llvm-svn: 122754
2011-01-03 17:30:25 +00:00
Nick Lewycky
a8e288b52d
Further expand what a call graph pass may do.
...
The rationale is that after analyzing a function in the SCC, we may want to
modify it in a way that requires us to update its uses (f.e. to replace the
call with a constant) or its users (f.e. to call it with fewer arguments).
llvm-svn: 122739
2011-01-03 06:16:07 +00:00
Nick Lewycky
310c4820f8
Permit CallGraphSCCPasses readonly access to the direct callers of the functions
...
in their SCC as they already have with the direct callees.
llvm-svn: 122734
2011-01-03 04:01:44 +00:00
Duncan Sands
6569cc29d1
Correct a bunch of mistakes which meant that the example pass didn't
...
even compile, let alone work.
llvm-svn: 122657
2011-01-01 17:37:07 +00:00
Duncan Sands
621983efe9
I was unable to get the instructions to work if LLVM was built
...
using a separate objects directory.
llvm-svn: 122656
2011-01-01 17:28:49 +00:00
Duncan Sands
3ba8ee3552
Clarify that the loadable module turns up in the top-level directory,
...
not locally.
llvm-svn: 122655
2011-01-01 17:21:58 +00:00
Erick Tryzelaar
f6477b0a90
Add a reference to the OCamlLangImpl8.
...
llvm-svn: 122651
2011-01-01 03:29:25 +00:00
Erick Tryzelaar
5ac1b424f0
Add an OCaml tutorial page 8
...
llvm-svn: 122650
2011-01-01 03:27:43 +00:00
Tobias Grosser
4f458bffaa
Integers are primitive types. Update the documentation to state this
...
This was done for label, void, floating point, x86mmx, metadata,
just not integer.
llvm-svn: 122606
2010-12-28 20:29:31 +00:00
David Greene
33a91c0c9a
Revert 122341. It breaks some darwin tests.
...
llvm-svn: 122346
2010-12-21 17:25:43 +00:00
David Greene
28140b5288
Fix PR 8199. This patch prepends the build tool dir to LLVM programs
...
being tested. This ensures that we test the tools just built and not
some random tools that might happen to be in the user's PATH. This
makes LLVM testing much more stable and predictable.
llvm-svn: 122341
2010-12-21 16:55:53 +00:00
Bill Wendling
d10b614157
Grammar corrections and some formatting changes.
...
llvm-svn: 122312
2010-12-21 03:31:05 +00:00
Wesley Peck
11bdb2e5b5
Update the target feature matrix to reflect some new features in the MBlaze backend.
...
llvm-svn: 122276
2010-12-20 21:54:50 +00:00
Oscar Fuentes
dd676ee5b1
New cmake option LLVM_APPEND_VC_REV for controlling when the VC
...
revision id is appended to the LLVM version string. Defaults to
OFF.
Until now the VC revision id was always appended to the revision
string whenever cmake was invoked (either explicitly or implicitly
because a cmake source file changed). This was causing massive
recompilations because config.h are reconfigured with the new contents
of PACKAGE_VERSION.
llvm-svn: 122240
2010-12-20 09:47:13 +00:00
Bruno Cardoso Lopes
41ed6e3571
Update the Target Feature Matrix for Mips
...
llvm-svn: 122203
2010-12-19 22:41:43 +00:00
Dan Gohman
4b073c7a7f
Fix a typo that Bill spotted.
...
llvm-svn: 121909
2010-12-15 23:09:41 +00:00
Dan Gohman
0b9ddf4485
Document some more AliasAnalysis infrastructure limitations.
...
llvm-svn: 121874
2010-12-15 18:45:20 +00:00
Bill Wendling
0611f0ab0b
Add mention that we support FreeBSD/amd64.
...
llvm-svn: 121832
2010-12-15 01:35:55 +00:00
Jakob Stoklund Olesen
8ebbd669bc
Add IntervalMap to the Programmer's Manual.
...
llvm-svn: 121740
2010-12-14 00:55:51 +00:00
Chris Lattner
a008be1ee9
further fixes.
...
llvm-svn: 121657
2010-12-13 00:17:12 +00:00
Chris Lattner
13577458da
fix typo
...
llvm-svn: 121620
2010-12-12 02:42:57 +00:00
Dan Gohman
9d1f5ce1da
Introduce a new PartialAlias response for AliasAnalysis. For most
...
AliasAnalysis consumers, PartialAlias will be treated as MayAlias.
For AliasAnalysis chaining, MayAlias says "procede to the next analysis".
PartialAlias will be used to indicate that the query should terminate,
even though it didn't reach MustAlias or NoAlias.
llvm-svn: 121507
2010-12-10 19:38:58 +00:00
Eric Christopher
2bb1326bb6
Use GZIPBIN instead of GZIP. Apparently gzip uses GZIP as an environment
...
variable for args you want to default pass to gzip.
Patch based on one by asau@inbox.ru .
Fixes PR8758.
llvm-svn: 121449
2010-12-10 01:31:51 +00:00
Chris Lattner
ed18cd64c2
fix some validation problems
...
llvm-svn: 121444
2010-12-10 00:54:03 +00:00
Chris Lattner
8b17f8647e
restructure this for readability, correct the example to follow the public ivar name convention
...
llvm-svn: 121443
2010-12-10 00:52:35 +00:00
Chris Lattner
dd76dce2d8
add a rule for enums, patch by Zhanyong Wan!
...
llvm-svn: 121430
2010-12-09 23:32:39 +00:00
Bill Wendling
87a73f7945
Fix the prototype for the llvm.eh.selector intrinsic.
...
llvm-svn: 121425
2010-12-09 23:05:48 +00:00
Bill Wendling
c5a48281fa
Fix newlines.
...
llvm-svn: 121233
2010-12-08 02:46:25 +00:00
Frits van Bommel
96efe38470
Clarify some of the differences between indexing with getelementptr and indexing with insertvalue/extractvalue.
...
llvm-svn: 120957
2010-12-05 20:54:38 +00:00
Zhanyong Wan
b845682253
Add naming rules to the coding standards.
...
llvm-svn: 120689
2010-12-02 05:10:07 +00:00
Chris Lattner
227a4ee15a
forbid rtti and exceptions
...
llvm-svn: 120450
2010-11-30 19:20:40 +00:00
Nick Lewycky
87f97b60f8
Make @llvm.invariant.start not be readonly, so that it has side-effects. This
...
unbreaks test/Transforms/InstCombine/invariant.ll which was broken by r120382.
This is a fix-forward to do what I think Chris intended.
llvm-svn: 120388
2010-11-30 04:13:41 +00:00
Oscar Fuentes
997986b1ea
Bump required cmake version on CMake.html.
...
llvm-svn: 120162
2010-11-25 21:41:48 +00:00
Zhanyong Wan
ee1d07099f
Fix formatting nits in the coding standards. Reviewed by clattner.
...
llvm-svn: 119998
2010-11-23 05:03:07 +00:00
Wesley Peck
d589353ad0
Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept.
...
llvm-svn: 119990
2010-11-23 03:31:01 +00:00
Chris Lattner
d4da93abb1
a byval argument without an align can have an arbitrary alignment
...
requirement on the input pointer.
llvm-svn: 119914
2010-11-20 23:49:06 +00:00
Chris Lattner
f808b37bae
add some justification for "using namespace llvm;"
...
llvm-svn: 119544
2010-11-17 19:47:20 +00:00
Chris Lattner
878ec25f02
various cleanups and other improvements, patch by Zhanyong Wan!
...
llvm-svn: 119515
2010-11-17 17:14:55 +00:00
Chris Lattner
5faff99d84
With the newly simplified SourceMgr interfaces and the generalized
...
SrcMgrDiagHandler, we can improve clang diagnostics for inline asm:
instead of reporting them on a source line of the original line,
we can report it on the correct line wherever the string literal came
from. For something like this:
void foo() {
asm("push %rax\n"
".code32\n");
}
we used to get this: (note that the line in t.c isn't helpful)
t.c:4:7: error: warning: ignoring directive for now
asm("push %rax\n"
^
<inline asm>:2:1: note: instantiated into assembly here
.code32
^
now we get:
t.c:5:8: error: warning: ignoring directive for now
".code32\n"
^
<inline asm>:2:1: note: instantiated into assembly here
.code32
^
Note that we're pointing to line 5 properly now.
llvm-svn: 119488
2010-11-17 08:20:42 +00:00
Chris Lattner
4450e4541e
update coding standards. Partial specialization is now ok,
...
though possibly not a good idea.
llvm-svn: 119398
2010-11-16 22:19:06 +00:00
Chris Lattner
3f10b03cc5
libc++ and compiler_rt are now dual licensed under UIUC and MIT license.
...
llvm-svn: 119387
2010-11-16 21:32:53 +00:00
Peter Collingbourne
85c40de5f8
Document -enable-no-infs-fp-math and -enable-no-nans-fp-math command line options
...
llvm-svn: 119370
2010-11-16 19:40:13 +00:00
Dan Gohman
d15705f63d
Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. Thanks
...
for Arnaud Allard de Grandmaison for preparing a patch.
llvm-svn: 119351
2010-11-16 17:28:22 +00:00
Dan Gohman
48daf06935
Update examples and documentation to explicitly add basicaa, now that it's
...
no longer included by default.
llvm-svn: 119169
2010-11-15 18:41:10 +00:00
Dan Gohman
42ceddfacd
-basicaa is no longer the default.
...
llvm-svn: 119163
2010-11-15 18:07:16 +00:00
Chris Lattner
382e09bbc0
no alpha jit support.
...
llvm-svn: 119052
2010-11-14 18:25:50 +00:00
Chris Lattner
6f46d6f99f
describe the preferred approach to silencing 'unused variable warnings' due to asserts.
...
llvm-svn: 118863
2010-11-12 00:19:41 +00:00
NAKAMURA Takumi
5b3bb628fb
CMake: Add the new option "LLVM_LIT_ARGS".
...
Defaults:
if (MSVC OR XCODE): "-sv --no-progress-bar"
else: "-sv"
llvm-svn: 118776
2010-11-11 04:09:35 +00:00
Devang Patel
a4eeec4604
Document debuginfo-tests.
...
llvm-svn: 118746
2010-11-11 00:13:39 +00:00
Chris Lattner
4834890f0a
add (and document) the ability for alias results to have
...
fixed physical registers. Start moving fp comparison
aliases to the .td file (which default to using %st1 if
nothing is specified).
llvm-svn: 118352
2010-11-06 19:57:21 +00:00
Chris Lattner
c0e756dc47
generalize alias support to allow the result of an alias to
...
add fixed immediate values. Move the aad and aam aliases to
use this, and document it.
llvm-svn: 118350
2010-11-06 19:25:43 +00:00
Chris Lattner
3ea0f8d504
document instalias.
...
llvm-svn: 118335
2010-11-06 08:30:26 +00:00
Duncan Sands
77fde689d9
Fix typo, pointed out by Trevor Harmon.
...
llvm-svn: 118163
2010-11-03 08:16:50 +00:00
Chris Lattner
76a122055f
fix typo, patch by Trevor Harmon (PR8537)
...
llvm-svn: 118131
2010-11-03 00:30:29 +00:00
Oscar Fuentes
ee4fc3df35
Removed obsolete section about VC++ project files.
...
llvm-svn: 118072
2010-11-02 21:34:19 +00:00
Chris Lattner
a4c36d0efe
fix the !eq operator in tblgen to return a bit instead of an int.
...
Use this to make the X86 and ARM targets set isCodeGenOnly=1
automatically for their instructions that have Format=Pseudo,
resolving a hack in tblgen.
llvm-svn: 117862
2010-10-31 19:22:57 +00:00
Benjamin Kramer
63031c7df3
Validate HTML.
...
llvm-svn: 117847
2010-10-30 21:07:28 +00:00
Chris Lattner
2624c9ccb0
add missing tag
...
llvm-svn: 117846
2010-10-30 20:21:00 +00:00
Chris Lattner
aace31ce48
fix typos and some serious bugs in feature handling (but not for
...
cases that are currently exercised). Thanks to Frits van Bommel for
the great review!
llvm-svn: 117840
2010-10-30 19:47:49 +00:00
Chris Lattner
15e92ddd01
Implement (and document!) support for MnemonicAlias's to have Requires
...
directives, allowing things like this:
def : MnemonicAlias<"pop", "popl">, Requires<[In32BitMode]>;
def : MnemonicAlias<"pop", "popq">, Requires<[In64BitMode]>;
Move the rest of the X86 MnemonicAliases over to the .td file.
llvm-svn: 117830
2010-10-30 19:23:13 +00:00
Chris Lattner
7c61e4bca2
implement (and document!) the first kind of MC assembler alias, which
...
just remaps one mnemonic to another. Convert a few of the X86 aliases
from .cpp to .td code.
llvm-svn: 117815
2010-10-30 17:36:36 +00:00
Oscar Fuentes
884f6a3c67
Document LLVM_BUILD_TESTS, LLVM_INCLUDE_TESTS. New convenience target
...
UnitTests for building all the unit tests.
llvm-svn: 117545
2010-10-28 14:38:35 +00:00
Chris Lattner
a5367549b9
clarify that not having the ".o file writing" feature
...
doesn't mean that you can't get a .o file. Apparently
this is confusing :)
llvm-svn: 117523
2010-10-28 02:22:02 +00:00
Bill Wendling
bead915338
Random cleanups and format changes.
...
llvm-svn: 117428
2010-10-27 01:07:41 +00:00
Duncan Sands
5e0c84786b
Yet another thing that was forgotten to be added to the release notes...
...
llvm-svn: 117362
2010-10-26 12:43:36 +00:00
Charles Davis
3f1683a2ce
Make the description of the hotpatch attribute even more generic. Spotted by
...
Michael Spencer.
llvm-svn: 117286
2010-10-25 19:07:39 +00:00
Charles Davis
96b28d2fba
Make hotpatch attribute description a little less Wintel-specific.
...
llvm-svn: 117267
2010-10-25 16:29:03 +00:00
Charles Davis
42270b5d54
Add a new 'hotpatch' attribute. This attribute will insert a two-byte no-op
...
instruction at the beginning of each function that has the attribute, allowing
the function to be easily hooked and/or patched.
llvm-svn: 117264
2010-10-25 15:37:09 +00:00
Kalle Raiskila
2a3cb0b31f
Update target feature matrix for CellSPU
...
llvm-svn: 117255
2010-10-25 08:57:30 +00:00
Jakob Stoklund Olesen
47111fb438
Update target feature matrix for Blackfin.
...
llvm-svn: 117245
2010-10-24 20:04:05 +00:00
Wesley Peck
4e10e0bf01
Updating target feature matrix to indicate current MBlaze status.
...
llvm-svn: 117244
2010-10-24 18:50:12 +00:00
Chris Lattner
585ed2f73f
broken link
...
llvm-svn: 117232
2010-10-24 16:24:22 +00:00
Chris Lattner
2f1a7ec5d0
add a big table with target features.
...
llvm-svn: 117230
2010-10-24 16:18:00 +00:00
Peter Collingbourne
e43dd89068
Standardise all build-mode affecting {EN,DIS}ABLE_* make options to
...
test equality to 1, and fix/update documentation to reflect this
llvm-svn: 117094
2010-10-22 12:54:34 +00:00
Tobias Grosser
d1218c2661
Fix type in passes.
...
llvm-svn: 117065
2010-10-21 21:16:03 +00:00
Duncan Sands
e4c3445e85
Argh, completely forgot to add this to the release notes!
...
Better late than never, right?
llvm-svn: 117009
2010-10-21 14:40:02 +00:00
Tobias Grosser
88ce93b0eb
Add RegionPass support.
...
A RegionPass is executed like a LoopPass but on the regions detected by the
RegionInfo pass instead of the loops detected by the LoopInfo pass.
llvm-svn: 116905
2010-10-20 01:54:44 +00:00
Jim Grosbach
a8c0be5343
Add a pre-dispatch SjLj EH hook on the unwind edge for targets to do any
...
setup they require. Use this for ARM/Darwin to rematerialize the base
pointer from the frame pointer when required. rdar://8564268
llvm-svn: 116879
2010-10-19 23:27:08 +00:00
Jakob Stoklund Olesen
005aa1c020
Teach FileCheck to handle trailing CHECK-NOT patterns.
...
A CHECK-NOT pattern without a following CHECK pattern simply checks that the
pattern doesn't match before the end of the input file.
You can even have only CHECK-NOT patterns to check that strings appear nowhere
in the input file.
llvm-svn: 116592
2010-10-15 17:47:12 +00:00
Chris Lattner
c9709f154d
Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
...
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116190
2010-10-11 05:44:40 +00:00
Chris Lattner
c2bd6d02e5
clarify that zero sized vectors are illegal, PR8340
...
llvm-svn: 116167
2010-10-10 18:20:35 +00:00
Nick Lewycky
4850c46aab
Fix dead link.
...
llvm-svn: 116157
2010-10-09 21:12:29 +00:00
Nick Lewycky
564c2d6894
Warn about broken GCCs on ARM due to the problem fixed:
...
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01070.html
llvm-svn: 115998
2010-10-07 22:30:47 +00:00
Bill Wendling
154af563cf
Fixed RELEASE_28 tags.
...
llvm-svn: 115872
2010-10-06 23:50:30 +00:00
Tobias Grosser
eecbee3024
Fix libc++ link in release notes.
...
llvm-svn: 115837
2010-10-06 21:07:30 +00:00
Tobias Grosser
0285624d0a
Add missing "-" to the command line.
...
llvm-svn: 115777
2010-10-06 11:43:06 +00:00
Duncan Sands
faa847eb2b
No need to check out everything: binutils is enough.
...
Patch by John Tytgat.
llvm-svn: 115757
2010-10-06 06:45:11 +00:00
Tanya Lattner
2ddf96c6b9
Update release location.
...
llvm-svn: 115749
2010-10-06 05:36:01 +00:00
Chris Lattner
84846b71af
remove the !nameconcat tblgen feature. It "shorthand" and only used in 4 places
...
where !cast is just as short.
llvm-svn: 115722
2010-10-06 00:19:21 +00:00
Jim Grosbach
e17e5240f0
s/The ARM has/The ARM backend has/
...
llvm-svn: 115584
2010-10-05 01:00:42 +00:00
Bruno Cardoso Lopes
a4542cca49
AVX intrinsics and builtins were also added to clang
...
llvm-svn: 115566
2010-10-04 22:07:22 +00:00
Douglas Gregor
8de125224c
Spell AltiVec correctly
...
llvm-svn: 115560
2010-10-04 21:12:06 +00:00
Daniel Dunbar
36246f254e
ReleaseNotes: Note some changes to LLVM development infrastructure.
...
llvm-svn: 115550
2010-10-04 20:11:41 +00:00
Daniel Dunbar
478b185756
ReleaseNotes: Note a header rename.
...
llvm-svn: 115549
2010-10-04 20:11:39 +00:00
Gabor Greif
d08374c3dc
validator fixes; others remain, somebody who knows some html, please have a look
...
llvm-svn: 115526
2010-10-04 17:54:30 +00:00
Daniel Dunbar
1e19a4eadb
Add KLEE 2.8 release notes.
...
llvm-svn: 115524
2010-10-04 17:39:47 +00:00
Daniel Dunbar
0b33e806a5
A few more random Clang release notes.
...
llvm-svn: 115520
2010-10-04 17:06:49 +00:00
Gabor Greif
306399ff95
minor tweaks and typos
...
llvm-svn: 115518
2010-10-04 17:03:49 +00:00
Devang Patel
94f87b81a1
Fix lexical block's tag number.
...
llvm-svn: 115516
2010-10-04 16:51:59 +00:00
Chris Lattner
2ed773a81b
scheduler update
...
llvm-svn: 115515
2010-10-04 16:46:07 +00:00
Chris Lattner
91257c3929
another tweak
...
llvm-svn: 115510
2010-10-04 16:06:37 +00:00
Duncan Sands
f194a6992b
Ada support has moved to dragonegg - I am no longer working on
...
Ada in llvm-gcc.
llvm-svn: 115501
2010-10-04 10:06:56 +00:00
Duncan Sands
58d029576c
Fix a bunch of typos.
...
llvm-svn: 115500
2010-10-04 10:04:14 +00:00
Duncan Sands
8e604c59d1
Altvec -> Altivec.
...
llvm-svn: 115499
2010-10-04 09:11:50 +00:00
Douglas Gregor
83b1282060
Update LLVM 2.8 release notes for Clang
...
llvm-svn: 115498
2010-10-04 07:02:35 +00:00
Chris Lattner
4acab6fcf3
checkpoint, the release notes are now feature complete.
...
llvm-svn: 115495
2010-10-04 04:39:25 +00:00
Chris Lattner
43de760351
checkpoint
...
llvm-svn: 115494
2010-10-04 03:58:12 +00:00
Chris Lattner
5031184eb9
checkpoint.
...
llvm-svn: 115489
2010-10-04 02:42:39 +00:00
Chris Lattner
0b0f19a5ac
write Major Changes and Removed Features.
...
llvm-svn: 115486
2010-10-04 01:29:06 +00:00
Chris Lattner
637a286155
move dragonegg up in the list, write blurbs for lldb and libc++
...
llvm-svn: 115484
2010-10-03 23:49:06 +00:00
Chris Lattner
21e6a57512
add a bunch of stuff that works with 2.8
...
llvm-svn: 115483
2010-10-03 23:09:03 +00:00
Chris Lattner
13dd2ce893
random updates
...
llvm-svn: 115427
2010-10-02 22:44:15 +00:00
Chris Lattner
18588cdf43
checkpoint, don't expect this to read right yet. :)
...
llvm-svn: 115426
2010-10-02 21:59:30 +00:00
Chris Lattner
fae92bab87
add a bunch more notes. I survived.
...
llvm-svn: 115418
2010-10-02 19:32:01 +00:00
Devang Patel
76cc74b5bc
Fix block descriptor documentation.
...
llvm-svn: 115362
2010-10-01 22:45:00 +00:00
Devang Patel
ca4e525d59
Fix dbg_declare signature in document.
...
llvm-svn: 115326
2010-10-01 19:22:16 +00:00
Devang Patel
2a93615364
Fix DIDerived type fields' type in document.
...
llvm-svn: 115325
2010-10-01 19:19:30 +00:00
Chris Lattner
2dfa30152c
add a note
...
llvm-svn: 115297
2010-10-01 06:34:49 +00:00
Dale Johannesen
80b0b36c10
Fix pasto.
...
llvm-svn: 115261
2010-10-01 01:07:02 +00:00
Dale Johannesen
e6f908a6ab
Add some doc for the x86mmx type.
...
llvm-svn: 115255
2010-10-01 00:48:59 +00:00
Duncan Sands
f3c4831b1b
Flesh out the dragonegg section.
...
llvm-svn: 115179
2010-09-30 17:37:34 +00:00
Chris Lattner
2ea322b13d
checkpoint notes
...
llvm-svn: 115152
2010-09-30 16:31:33 +00:00
Chris Lattner
5e3655cd74
fix incorrect link!
...
llvm-svn: 115124
2010-09-30 01:12:09 +00:00
Chris Lattner
5235c13c2a
add a bunch of entries for external projects.
...
llvm-svn: 115112
2010-09-30 00:34:43 +00:00
Duncan Sands
f66899560c
Convert a bunch of uses of 'bytecode' into 'bitcode'. This
...
is not everything, but the remaining cases are less trivial.
llvm-svn: 115080
2010-09-29 20:09:55 +00:00
Chris Lattner
7d85c2b8f6
add some random notes.
...
llvm-svn: 115032
2010-09-29 07:25:03 +00:00
Chris Lattner
f823b68060
merge all the llvm-gcc pieces together. Recommend that people try dragonegg if they care about fortran performance.
...
llvm-svn: 115031
2010-09-29 05:34:42 +00:00
Chris Lattner
f13b1d5c18
prepare for new content.
...
llvm-svn: 115030
2010-09-29 05:30:03 +00:00
Chris Lattner
e97177677b
reapply developer policy changes after discussion.
...
llvm-svn: 114886
2010-09-27 21:17:15 +00:00
Oscar Fuentes
9297448bed
New cmake options LLVM_INCLUDE_X (X = {TOOLS, EXAMPLES, TESTS}) for
...
not generating build targets for those parts of the build.
llvm-svn: 114797
2010-09-25 20:43:06 +00:00
Chris Lattner
aa1eaa4ac7
temporarily revert developer policy change as a courtesy to vikram.
...
llvm-svn: 114792
2010-09-25 15:53:35 +00:00
Chris Lattner
7c06222990
remove an obsolete section
...
llvm-svn: 114701
2010-09-23 22:34:49 +00:00
Andrew Trick
0f7d9dc391
Fix Getting Started docs.
...
configure expects LLVM Test Suite to be in projects/test-suite.
Made the "getting started" and "testing infrastructure" docs internally consistent.
Avoid confusion between llvm-test and llvm/test.
llvm-svn: 114691
2010-09-23 20:26:44 +00:00
Chris Lattner
efdfb58d99
rewrite the copyright section to match reality: llvm does't have a
...
copyright assignment process.
llvm-svn: 114673
2010-09-23 17:37:11 +00:00
Chris Lattner
2fb18abd7f
add lldb and libc++ code owners.
...
llvm-svn: 114669
2010-09-23 17:27:54 +00:00
Chris Lattner
547aed434e
random cruft in my tree.
...
llvm-svn: 114387
2010-09-21 04:03:39 +00:00
Michael J. Spencer
37c9ae6c7f
docs: Tweak wording.
...
llvm-svn: 114271
2010-09-18 08:32:32 +00:00
Michael J. Spencer
df84552a08
docs: Update GettingStartedVS to reflect current state.
...
llvm-svn: 114167
2010-09-17 06:33:20 +00:00
Oscar Fuentes
371e96c67a
Updated GettingStartedVS.html to reflect current state.
...
Reorganized it too.
llvm-svn: 114151
2010-09-17 02:17:13 +00:00
Oscar Fuentes
7099ae0835
Direct CMake users to the right place for up-to-date info about using
...
LLVM libraries.
llvm-svn: 114139
2010-09-17 00:30:52 +00:00
Bob Wilson
f1a7145d26
Fix formatting tags.
...
llvm-svn: 113758
2010-09-13 17:39:35 +00:00
Bob Wilson
25938c2b72
Document NEON intrinsic changes for 2.8.
...
llvm-svn: 113757
2010-09-13 17:37:55 +00:00
Chris Lattner
b769a3afde
add some documentation for the most important MC-level classes along with
...
an overview of mc and the idea of the code emission phase.
llvm-svn: 113707
2010-09-11 23:02:10 +00:00
John McCall
f1418ef333
Add documentation for llvm-diff.
...
llvm-svn: 113303
2010-09-07 23:10:21 +00:00
Chris Lattner
faf356777a
add note
...
llvm-svn: 113164
2010-09-06 19:14:40 +00:00
Chris Lattner
091212f130
some random notes.
...
llvm-svn: 113118
2010-09-05 20:49:45 +00:00
Chris Lattner
e2ef5b78ff
this is a release note worthy change.
...
llvm-svn: 112907
2010-09-02 23:22:50 +00:00
Chris Lattner
67bb18f68c
updates to make it clear that this applies to clang and other llvm subprojects.
...
llvm-svn: 112781
2010-09-02 00:09:17 +00:00
Chris Lattner
070f76fc43
update the tutorial to use CreateFAdd to create fp operations.
...
llvm-svn: 112733
2010-09-01 20:09:20 +00:00
Jakob Stoklund Olesen
dc2f83c287
Stack slot access methods are in TargetInstrInfo.
...
llvm-svn: 112653
2010-08-31 22:01:07 +00:00
Duncan Sands
ca7a58c6a3
Update the Ada instructions to LLVM 2.7 (from LLVM 2.5).
...
llvm-svn: 112630
2010-08-31 19:40:21 +00:00
Dan Gohman
d261381db5
Update the descriptions of NoModRef and ModRef to be consistent
...
with the descriptions of Mod and Ref.
llvm-svn: 112557
2010-08-30 23:47:24 +00:00
Duncan Sands
3e49fe09db
Remove a hack that tries to understand incorrect triples from the
...
Triple class constructor. Only valid triples should now be used
inside LLVM - front-ends are now responsable for rejecting or
correcting invalid target triples. The Triple::normalize method
can be used to straighten out funky triples provided by users.
Give this a whirl through the buildbots to see if I caught all
places where triples enter LLVM.
llvm-svn: 112470
2010-08-30 10:57:54 +00:00
Chris Lattner
d16c80e27f
remove the MSIL backend. It isn't maintained, is buggy, has no testcases
...
and hasn't kept up with ToT. Approved by Anton.
llvm-svn: 112375
2010-08-28 16:33:36 +00:00
Chris Lattner
ecf276b787
remove unions from LLVM IR. They are severely buggy and not
...
being actively maintained, improved, or extended.
llvm-svn: 112356
2010-08-28 04:09:24 +00:00
Bill Wendling
163660135e
Create the new linker type "linker_private_weak_def_auto".
...
It's similar to "linker_private_weak", but it's known that the address of the
object is not taken. For instance, functions that had an inline definition, but
the compiler decided not to inline it. Note, unlike linker_private and
linker_private_weak, linker_private_weak_def_auto may have only default
visibility. The symbols are removed by the linker from the final linked image
(executable or dynamic library).
llvm-svn: 111684
2010-08-20 22:05:50 +00:00
Dan Gohman
b5bb849f1a
Make the SCC printing passes use errs() instead of outs(), as the
...
other printing passes do, and update the documentation accordingly.
llvm-svn: 111601
2010-08-20 01:03:44 +00:00
Chris Lattner
982a804b20
fix a broken link
...
llvm-svn: 111326
2010-08-17 23:26:04 +00:00
Chris Lattner
c61aa15b46
add some 's to a pre to avoid newlines being eaten
...
and the formatting being thrown off. I admit to not knowing
what is going on here.
llvm-svn: 111249
2010-08-17 17:13:42 +00:00
Oscar Fuentes
9814c3c7a9
CMake: document how to incorporate LLVM into the cmake project of an
...
external project.
llvm-svn: 110561
2010-08-09 03:26:48 +00:00
Oscar Fuentes
d8b4e8da0f
CMake: documented testing procedure
...
llvm-svn: 110559
2010-08-09 02:49:39 +00:00
Rafael Espindola
d25e9dbc11
Add a opt-args option that can be used to pass arguments to every opt
...
invocation. Fixes PR7793:
bugpoint -debug test.ll --opt-args -unroll-count=4
llvm-svn: 110555
2010-08-08 22:14:20 +00:00
Rafael Espindola
c3b766cc93
s/libLLVMgold/LLVMgold/g
...
llvm-svn: 110552
2010-08-08 21:14:26 +00:00
Peter Collingbourne
926fe36804
Fix missing </a> tag error introduced by addition of LowerAtomic pass.
...
While at it, fix all other HTML validation errors in docs/Passes.html.
llvm-svn: 110428
2010-08-06 02:13:25 +00:00
Eric Christopher
68f5d1e7fa
Document results of PR7762.
...
llvm-svn: 110373
2010-08-05 20:38:39 +00:00
Owen Anderson
59e2dd4f8d
Add a note about the changing pass registration interface.
...
llvm-svn: 110231
2010-08-04 18:27:08 +00:00
Dan Gohman
1eb3e12da2
Delete mkpatch. Everything it does is already done by svn diff by default.
...
llvm-svn: 110203
2010-08-04 16:07:22 +00:00
Dan Gohman
b29ac42863
Remove a link which is no longer relevant.
...
llvm-svn: 110202
2010-08-04 15:59:16 +00:00
Torok Edwin
33f893ec69
Note some LLVM 2.7 -> 2.8 APIs that changed / got renamed.
...
I encountered these while upgrading libclamav.
llvm-svn: 110196
2010-08-04 12:43:22 +00:00
Peter Collingbourne
10c4f9d6bd
Add an atomic lowering pass
...
llvm-svn: 110113
2010-08-03 16:19:16 +00:00
Daniel Dunbar
87c74ac6e5
docs/TestingGuide: Minimal update to describe 'lit' based regression testing
...
instead of DejaGNU. Still a bit kooky, since the current test format still has
some strong Tcl roots. Oh well!
llvm-svn: 110005
2010-08-02 01:20:23 +00:00
Daniel Dunbar
ef6b6da416
docs/TestingGuide: Rip out description of old nightly tester infrastructure. The
...
official recommendation is to use LNT instead. I will write docs on setting up
an LNT installation for submission to llvm.org, one day.
llvm-svn: 110004
2010-08-02 01:20:20 +00:00
Nick Lewycky
f2db3d61a9
Fix word choice.
...
llvm-svn: 109995
2010-08-01 23:18:45 +00:00
John Criswell
bc5393a5fe
Grammar cop pullover: Corrected and improved some grammar in the description of
...
the llvm.memset() intrinsic family.
No content changes.
llvm-svn: 109863
2010-07-30 16:30:28 +00:00
Gabor Greif
7ae22e4471
re-commit r109220, the compile error has already been fixed
...
Simplifying use_iterators by dereferencing
is not a good idea. The codebase does not depend
in this any more, and it may introduce hidden
runtime cost. If you get compile errors, please
dereference your iterator before passing to cast<>
(and friends).
Also: please consider caching the result of
operator* and reusing that instead of dereferencing
many times.
llvm-svn: 109425
2010-07-26 18:48:07 +00:00
Peter Collingbourne
48fc43e800
Document BUILD_EXAMPLES makefile variable
...
llvm-svn: 109346
2010-07-24 17:54:00 +00:00
Tobias Grosser
604a50cd71
Add new RegionInfo pass.
...
The RegionInfo pass detects single entry single exit regions in a function,
where a region is defined as any subgraph that is connected to the remaining
graph at only two spots.
Furthermore an hierarchical region tree is built.
Use it by calling "opt -regions analyze" or "opt -view-regions".
llvm-svn: 109089
2010-07-22 07:46:31 +00:00
Owen Anderson
b36d01c1b6
Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
...
llvm-svn: 109058
2010-07-21 23:07:00 +00:00
Owen Anderson
e380b82a47
First stab at updating the documentation for INITIALIZE_PASS().
...
llvm-svn: 109055
2010-07-21 22:58:07 +00:00
Dan Gohman
fc3ee085a0
Disallow null as a named metadata operand.
...
Make MDNode::destroy private.
Fix the one thing that used MDNode::destroy, outside of MDNode itself.
One should never delete or destroy an MDNode explicitly. MDNodes
implicitly go away when there are no references to them (implementation
details aside).
llvm-svn: 109028
2010-07-21 18:54:18 +00:00
Chris Lattner
538de44e5c
strip out the 2.7 release notes, this really is the 2.8 release notes
...
now. Add a few items like the fpstackifier improvements.
llvm-svn: 109013
2010-07-21 15:57:40 +00:00
Gabor Greif
995ca8288c
appease Validator
...
llvm-svn: 109007
2010-07-21 10:22:41 +00:00
Gabor Greif
c1c01f33ec
add info on operand rotation
...
llvm-svn: 109006
2010-07-21 10:20:08 +00:00
Jakob Stoklund Olesen
44949b2e1b
Remove the isMoveInstr() hook.
...
llvm-svn: 108567
2010-07-16 22:35:46 +00:00
Benjamin Kramer
da3e6cdb26
Don't pass StringRef by reference.
...
llvm-svn: 108366
2010-07-14 22:38:02 +00:00
Dan Gohman
546332a032
Fix the Named Metadata example to make it clear which specific
...
construct is the named metadata.
llvm-svn: 108263
2010-07-13 19:48:13 +00:00
Devang Patel
4fca0435b3
Fix compile unit in example. Thanks Renato Golin!
...
llvm-svn: 108246
2010-07-13 16:53:20 +00:00
Benjamin Kramer
9af04e360e
HTML cleanup and validation.
...
llvm-svn: 108239
2010-07-13 12:26:09 +00:00
Duncan Sands
710b57b4b1
When doing sext/zext of constants, the target type must be strictly
...
wider than the source type. Correct LangRef.
llvm-svn: 108238
2010-07-13 12:06:14 +00:00
Jakob Stoklund Olesen
a28aa26057
Remove TargetInstrInfo::copyRegToReg entirely.
...
Targets must now implement TargetInstrInfo::copyPhysReg instead. There is no
longer a default implementation forwarding to copyRegToReg.
llvm-svn: 108095
2010-07-11 17:01:17 +00:00
Dan Gohman
226e208014
sdiv overflow is outright undefined behavior, with or without the
...
'exact' keyword. Thanks to nlewycky for pointing this out!
llvm-svn: 108064
2010-07-11 00:08:34 +00:00
Duncan Sands
896788595d
Tweak some docs now that the default build is called Debug+Asserts.
...
llvm-svn: 107862
2010-07-08 08:27:18 +00:00