Eric Christopher
7348432ade
First pass at llvm.objectsize documentation.
...
llvm-svn: 90116
2009-11-30 08:03:53 +00:00
Nick Lewycky
1c2720320b
Remove the 'simple jit' tutorial as it wasn't really being maintained and its
...
material is covered by the Kaleidoscope tutorial.
llvm-svn: 90111
2009-11-30 04:23:17 +00:00
Duncan Sands
31c0e0ee35
Vector types are no longer required to have a power-of-two length.
...
llvm-svn: 90004
2009-11-27 13:38:03 +00:00
Duncan Sands
ee7425cc56
These code generator limitations have been removed.
...
llvm-svn: 90003
2009-11-27 12:33:22 +00:00
Devang Patel
4da997b936
Update to reflect recent debugging information encoding changes.
...
llvm-svn: 89896
2009-11-25 23:28:01 +00:00
Oscar Fuentes
0c2443a28d
CMake: generate targets for tools and examples even when
...
LLVM_BUILD_TOOLS or LLVM_BUILD_EXAMPLES are OFF.
llvm-svn: 89635
2009-11-23 00:21:43 +00:00
Daniel Dunbar
57cb733b46
Allow '_' in FileCheck variable names, it is nice to have at least one
...
separate character.
- Chris, OK?
llvm-svn: 89626
2009-11-22 22:07:50 +00:00
Daniel Dunbar
43bff37afb
Update doc re: LLVM_BUILD_EXAMPLES.
...
llvm-svn: 89607
2009-11-22 18:27:51 +00:00
Chris Lattner
88874ec60a
Remove the AliasAnalysis::getMustAliases method, which is dead.
...
The hasNoModRefInfoForCalls isn't worth it as a filter because
basicaa provides m/r info and everything chains to it, so remove
it.
llvm-svn: 89599
2009-11-22 16:01:44 +00:00
Jay Foad
658af5a9e2
Fix HTML formatting.
...
llvm-svn: 89093
2009-11-17 13:13:59 +00:00
Daniel Dunbar
ad6c15465c
lit: Add --repeat=N option, for running each test N times.
...
- Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests.
llvm-svn: 88827
2009-11-15 01:02:09 +00:00
Daniel Dunbar
5a5b223c04
lit: Start documentation testing architecture.
...
llvm-svn: 86655
2009-11-10 02:41:27 +00:00
Dan Gohman
c74bc28297
The inbounds keyword isn't relevant to overindexing of
...
static array types. Thanks to Duncan for pointing this out!
llvm-svn: 86576
2009-11-09 19:01:53 +00:00
Dan Gohman
66c4d61010
Remove the "special case" for zero-length arrays, and rephrase this
...
paragraph to be more precise.
llvm-svn: 86572
2009-11-09 18:40:39 +00:00
Chris Lattner
a381effe72
add the ability for TargetData to return information about legal integer
...
datatypes on a given CPU. This is intended to allow instcombine and other
transformations to avoid converting big sequences of operations to an
inconvenient width, and will help clean up after SRoA. See also "Adding
legal integer sizes to TargetData" on Feb 1, 2009 on llvmdev, and PR3451.
Comments welcome.
llvm-svn: 86370
2009-11-07 09:35:34 +00:00
Daniel Dunbar
1891a167a1
lit: Add --param NAME=VALUE option, for test suite specific use (to communicate
...
arbitrary command line arguments to the test suite).
llvm-svn: 86137
2009-11-05 16:27:33 +00:00
Nick Lewycky
b8c923b1a6
The magic for our current brand of .bc files is BC. For older ones it was llvc.
...
When was it ever "llvm"?
llvm-svn: 86009
2009-11-04 06:15:28 +00:00
Chris Lattner
6e41c79763
fix broken link
...
llvm-svn: 85951
2009-11-03 21:50:09 +00:00
Bill Wendling
33fef7e4e5
Add missing end-tag.
...
llvm-svn: 85769
2009-11-02 00:25:26 +00:00
Bill Wendling
7f4a336785
Some formatting changes.
...
llvm-svn: 85768
2009-11-02 00:24:16 +00:00
Chris Lattner
aa99c94e2a
Revert 85678/85680. The decision is to stay with the current form of
...
indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it
for simplicity.
llvm-svn: 85699
2009-11-01 01:27:45 +00:00
Chris Lattner
b2c0e243c5
Make blockaddress(@func, null) be valid, and make 'deleting a basic
...
block with a blockaddress still referring to it' replace the invalid
blockaddress with a new blockaddress(@func, null) instead of a
inttoptr(1).
This changes the bitcode encoding format, and still needs codegen
support (this should produce a non-zero value, referring to the entry
block of the function would also be quite reasonable).
llvm-svn: 85678
2009-10-31 20:08:37 +00:00
Dan Gohman
453d64c9f5
Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a
...
bunch of associated comments, because it doesn't have anything to do
with DAGs or scheduling. This is another step in decoupling MachineInstr
emitting from scheduling.
llvm-svn: 85517
2009-10-29 18:10:34 +00:00
Chris Lattner
e9006fe142
greatly improve the LLVM IR bitcode encoding documentation,
...
patch by Peter Housel!
llvm-svn: 85479
2009-10-29 04:25:46 +00:00
Gabor Greif
03ab4dcff9
use metavariable <result> instead of SSA name %result for consistency
...
llvm-svn: 85388
2009-10-28 13:14:50 +00:00
Gabor Greif
bd0328f668
ooops, SSA name should not be part of the link
...
llvm-svn: 85387
2009-10-28 13:05:07 +00:00
Gabor Greif
f50fd57543
advertise new syntax for unnamed instructions
...
and eliminate confusing double-use of SSA names
(work in progress)
llvm-svn: 85385
2009-10-28 09:21:30 +00:00
Chris Lattner
c750bb62ac
doc bug spotted by apinski
...
llvm-svn: 85372
2009-10-28 04:47:06 +00:00
Chris Lattner
d04cb6d0fa
rename indbr -> indirectbr to appease the residents of #llvm.
...
llvm-svn: 85351
2009-10-28 00:19:10 +00:00
Chris Lattner
b4f2a24363
typo
...
llvm-svn: 85322
2009-10-27 21:52:54 +00:00
Chris Lattner
5c5f0ac362
you can't take the address of the entry block of a function.
...
llvm-svn: 85321
2009-10-27 21:49:40 +00:00
Chris Lattner
da37b30b21
improvements from gabor.
...
llvm-svn: 85320
2009-10-27 21:44:20 +00:00
Chris Lattner
2bfd320226
fix things pointed out by Dan!
...
llvm-svn: 85310
2009-10-27 21:19:13 +00:00
Chris Lattner
e4801f7844
document the forthcoming blockaddress constant.
...
llvm-svn: 85306
2009-10-27 21:01:34 +00:00
Jeffrey Yasskin
4567db45b8
Change the JIT to compile eagerly by default as agreed in
...
http://llvm.org/PR5184 , and beef up the comments to describe what both options
do and the risks of lazy compilation in the presence of threads.
llvm-svn: 85295
2009-10-27 20:30:28 +00:00
Chris Lattner
6506d6c3d7
fix pasto pointed out by Rafael
...
llvm-svn: 85294
2009-10-27 20:27:24 +00:00
Chris Lattner
3ed871fe62
add enough support for indirect branch for the feature test to pass
...
(assembler,asmprinter, bc reader+writer) and document it. Codegen
currently aborts on it.
llvm-svn: 85274
2009-10-27 19:13:16 +00:00
Nick Lewycky
d20fd59e29
Fix reversed logic spotted by Owen Anderson.
...
llvm-svn: 85251
2009-10-27 16:56:58 +00:00
Victor Hernandez
a70c6dff97
Remove all references to MallocInst and FreeInst
...
llvm-svn: 85177
2009-10-26 23:44:29 +00:00
Chandler Carruth
56869f22c4
Move DataTypes.h to include/llvm/System, update all users. This breaks the last
...
direct inclusion edge from System to Support.
llvm-svn: 85086
2009-10-26 01:35:46 +00:00
Daniel Dunbar
a4ea29e362
lit: Add --config-prefix option, to override default config file names.
...
llvm-svn: 85035
2009-10-25 03:30:55 +00:00
Mikhail Glushenkov
964020b8ba
Regenerate.
...
llvm-svn: 85031
2009-10-25 01:44:24 +00:00
Victor Hernandez
e297149e26
Auto-upgrade free instructions to calls to the builtin free function.
...
Update all analysis passes and transforms to treat free calls just like FreeInst.
Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised.
llvm-svn: 84987
2009-10-24 04:23:03 +00:00
Tanya Lattner
9d3ba88b1d
Add 2.6 release note.
...
llvm-svn: 84934
2009-10-23 06:20:06 +00:00
Jeffrey Yasskin
4546d31235
Try r84890 again (adding ValueMap<>), now that I've tested the compile on
...
gcc-4.4.
llvm-svn: 84902
2009-10-22 22:11:22 +00:00
Jeffrey Yasskin
66db004d7e
Revert r84890, which broke the linux build.
...
llvm-svn: 84892
2009-10-22 20:23:43 +00:00
Jeffrey Yasskin
6b80e6e2b7
Add a ValueMap<ValueOrSubclass*, T> type. ValueMap<Value*, T> is safe to use
...
even when keys get RAUWed and deleted during its lifetime. By default the keys
act like WeakVHs, but users can pass a third template parameter to configure
how updates work and whether to do anything beyond updating the map on each
action.
It's also possible to automatically acquire a lock around ValueMap updates
triggered by RAUWs and deletes, to support the ExecutionEngine.
llvm-svn: 84890
2009-10-22 20:10:20 +00:00
Dale Johannesen
1cfb958b00
Rename msasm to alignstack per review.
...
llvm-svn: 84795
2009-10-21 23:28:00 +00:00
Oscar Fuentes
45f99d6621
Two corrections for docs/CMake.html.
...
Patch by Victor Zverovich!
llvm-svn: 84759
2009-10-21 13:22:20 +00:00
Daniel Dunbar
0eb0378ad8
Add link to 'lit' from CommandGuide.
...
llvm-svn: 84461
2009-10-19 03:54:13 +00:00
Chris Lattner
b2305629db
check in a bunch of content from TestingGuide. Part of PR5216
...
llvm-svn: 84309
2009-10-17 04:47:42 +00:00
Chris Lattner
519486256c
Update from Cristina, llvm-gcc doesn't build on the SPARC version of solaris
...
at the moment.
llvm-svn: 84258
2009-10-16 16:30:58 +00:00
Duncan Sands
100d0e3cc1
The gcc plugin is now called dragonegg.so and no longer llvm.so.
...
Pointed out by Gabor.
llvm-svn: 84177
2009-10-15 08:17:44 +00:00
Duncan Sands
8e6ccb65df
I don't see any point in having both eh.selector.i32 and eh.selector.i64,
...
so get rid of eh.selector.i64 and rename eh.selector.i32 to eh.selector.
Likewise for eh.typeid.for. This aligns us with gcc, which always uses a
32 bit value for the selector on all platforms. My understanding is that
the register allocator used to assert if the selector intrinsic size didn't
match the pointer size, and this was the reason for introducing the two
variants. However my testing shows that this is no longer the case (I
fixed some bugs in selector lowering yesterday, and some more today in the
fastisel path; these might have caused the original problems).
llvm-svn: 84106
2009-10-14 16:11:37 +00:00
Dale Johannesen
63c94fe1e2
Documentation for the new msasm flag, which is no
...
worse than the rest of the asm documentation.
llvm-svn: 84037
2009-10-13 21:56:55 +00:00
Chris Lattner
aa61f41e56
rename ReleaseNotes-2.6.html -> ReleaseNotes.html
...
llvm-svn: 83990
2009-10-13 17:48:04 +00:00
Chris Lattner
123dd67f76
add Zero
...
llvm-svn: 83988
2009-10-13 17:47:06 +00:00
Nick Lewycky
9bc890425a
Force memory use markers to have a ConstantInt for the size argument.
...
llvm-svn: 83960
2009-10-13 07:57:33 +00:00
Nick Lewycky
6f7d8347c1
Add new "memory use marker" intrinsics. These indicate lifetimes and invariant
...
sections of memory objects.
llvm-svn: 83953
2009-10-13 07:03:23 +00:00
Chris Lattner
6208bc171a
fix validation error pointed out by gabor (and the w3c :)
...
llvm-svn: 83868
2009-10-12 18:33:33 +00:00
Chris Lattner
7c6e0f22ad
Improve bugpoint doc, patch by Timo Lindfors!
...
llvm-svn: 83865
2009-10-12 18:12:47 +00:00
Gabor Greif
001d74c312
another bunch of <tt>s
...
llvm-svn: 83860
2009-10-12 16:50:25 +00:00
Gabor Greif
af28f0be41
even more <tt>s
...
llvm-svn: 83854
2009-10-12 16:40:25 +00:00
Gabor Greif
a80c5df3ea
more typewriter face
...
llvm-svn: 83852
2009-10-12 16:27:44 +00:00
Gabor Greif
1a093f3022
fix three validation errors, I leave the fourth to sabre :-)
...
llvm-svn: 83851
2009-10-12 16:13:36 +00:00
Gabor Greif
aa9b0ba7db
set some options in typewriter font
...
llvm-svn: 83850
2009-10-12 16:08:52 +00:00
Benjamin Kramer
0f4203861f
Documentation: Perform automated correction of common typos.
...
llvm-svn: 83849
2009-10-12 14:46:08 +00:00
Torok Edwin
7630f105a1
Fix typo, patch from Timo Juhani Lindfors.
...
llvm-svn: 83848
2009-10-12 13:37:29 +00:00
Chris Lattner
2caacfa7e1
pic16 uses 16 bit pointers, but is 8 bit.
...
llvm-svn: 83815
2009-10-11 23:19:44 +00:00
Duncan Sands
5f6aa105f5
More DragonEgg verbiage.
...
llvm-svn: 83788
2009-10-11 19:40:38 +00:00
Duncan Sands
dcea7e921b
Remove spurious brackets.
...
llvm-svn: 83787
2009-10-11 19:30:56 +00:00
Chris Lattner
c04812c035
add PR5004 as a known problem.
...
llvm-svn: 83782
2009-10-11 19:07:23 +00:00
Chris Lattner
70fdca4b7f
duncan points out that llvm-gcc doesn't do the right thing with -fverbose-asm yet.
...
llvm-svn: 83781
2009-10-11 19:02:54 +00:00
Chris Lattner
94ac58d99a
some notes from Anton
...
llvm-svn: 83777
2009-10-11 18:21:32 +00:00
Gabor Greif
ccdf5fdfc1
catch some other serial commas that my earlier grep did not spot
...
llvm-svn: 83772
2009-10-11 11:44:34 +00:00
Gabor Greif
c51ca75468
eliminate some instances of serial comma. sabre, if you feel strong about this, feel free to revert this rev
...
llvm-svn: 83771
2009-10-11 11:23:40 +00:00
Duncan Sands
bc3f7c9229
Fix typo.
...
llvm-svn: 83770
2009-10-11 11:20:26 +00:00
Gabor Greif
39635acfc1
apply some tweaks
...
llvm-svn: 83769
2009-10-11 10:44:44 +00:00
Gabor Greif
e9fc6c982e
fix some obvious typos
...
llvm-svn: 83768
2009-10-11 10:27:57 +00:00
Duncan Sands
2dccb8571e
Add an outline of the DragonEgg gcc plugin.
...
llvm-svn: 83765
2009-10-11 09:07:15 +00:00
Ted Kremenek
e959a1cd0e
Update release notes blurb on the static analyzer.
...
llvm-svn: 83749
2009-10-11 03:10:25 +00:00
Chris Lattner
472330d5d2
clarify
...
llvm-svn: 83743
2009-10-10 23:05:42 +00:00
Chris Lattner
d4f70053ae
fix broken link
...
llvm-svn: 83738
2009-10-10 22:15:25 +00:00
Chris Lattner
ab58091692
final changes.
...
llvm-svn: 83737
2009-10-10 22:13:38 +00:00
Chris Lattner
4d74593b6e
down to 'major changes'
...
llvm-svn: 83736
2009-10-10 22:02:58 +00:00
Chris Lattner
e0948e96d7
more updates
...
llvm-svn: 83735
2009-10-10 21:40:13 +00:00
Chris Lattner
5e2f255c09
add a link to the GSG for info on how to check out svn trunk
...
llvm-svn: 83734
2009-10-10 21:37:16 +00:00
Chris Lattner
10a5a6f057
x86 uses 5 operands for most memory refs now.
...
llvm-svn: 83733
2009-10-10 21:30:55 +00:00
Duncan Sands
b93f40fd72
More spelling and grammar tweaks.
...
llvm-svn: 83728
2009-10-10 20:06:04 +00:00
Benjamin Kramer
9256f3d704
More spelling fixes.
...
llvm-svn: 83724
2009-10-10 19:45:13 +00:00
Duncan Sands
652eb5f51c
Spelling fixes.
...
llvm-svn: 83722
2009-10-10 19:30:16 +00:00
Chris Lattner
d959509cb5
more tweaks
...
llvm-svn: 83721
2009-10-10 19:26:21 +00:00
Duncan Sands
a2411198fe
Remove an inappropriate line in the description of the
...
clang static analyser. Decrease duplication in the text.
llvm-svn: 83720
2009-10-10 19:16:25 +00:00
Chris Lattner
713e8f062f
continue decoding chris scribble.
...
llvm-svn: 83719
2009-10-10 19:00:55 +00:00
Chris Lattner
a084627472
remove some dead passes
...
llvm-svn: 83717
2009-10-10 18:40:48 +00:00
Chris Lattner
23860ba207
checkpoint.
...
llvm-svn: 83716
2009-10-10 18:33:13 +00:00
Chris Lattner
80d73c7ee7
fix broken anchors.
...
llvm-svn: 83715
2009-10-10 18:26:06 +00:00
Nicolas Geoffray
31c4d8b0ba
As it turns out, the bug fixes in GC codegen did not make it
...
to llvm-2.6. Remove the precise garbage collection feature.
llvm-svn: 83638
2009-10-09 13:17:57 +00:00
Nicolas Geoffray
7d33d21da1
80-columns!
...
llvm-svn: 83628
2009-10-09 10:17:14 +00:00
Nicolas Geoffray
4b7479ab35
Add initial information on VMKit.
...
llvm-svn: 83627
2009-10-09 10:13:08 +00:00