Evan Cheng
1ddeb167e8
Fix some minor scheduling itinerary bug. It's not expected to actually affect codegen.
...
llvm-svn: 143675
2011-11-04 01:48:58 +00:00
Daniel Dunbar
9ef81066ad
utils: Rename the "llvmbuild" script to llvm-compilers-check.
...
llvm-svn: 143673
2011-11-04 01:09:02 +00:00
Chad Rosier
8a98ec4d4b
Indentation.
...
llvm-svn: 143670
2011-11-04 00:58:10 +00:00
Chad Rosier
f3e73ad5da
Add fast-isel support for returning i1, i8, and i16.
...
llvm-svn: 143669
2011-11-04 00:50:21 +00:00
Daniel Dunbar
e6d40de414
Speculatively revert "DeadStoreElimination can now trim the size of a store if
...
the end of it is dead.", which appears to break bootstrapping LLVM.
llvm-svn: 143668
2011-11-04 00:48:26 +00:00
Daniel Dunbar
1bd49deec0
build: Use right Echo variable and use Verb appropriately.
...
llvm-svn: 143664
2011-11-03 23:01:50 +00:00
Daniel Dunbar
b4ce26a2ea
build/Make: Integrate llvm-build into Makefiles.
...
- Basically, we coordinate with llvm-build to create a Makefile fragment we can
easily use. For now, nothing is wired in except the support to automatically
regenerate this file when necessary.
llvm-svn: 143662
2011-11-03 22:46:21 +00:00
Daniel Dunbar
ab3b1804fe
llvm-build: Add initial code for --write-make-fragment.
...
llvm-svn: 143661
2011-11-03 22:46:19 +00:00
Dan Gohman
198b7ffc11
Reapply r143206, with fixes. Disallow physical register lifetimes
...
across calls, and only check for nested dependences on the special
call-sequence-resource register.
llvm-svn: 143660
2011-11-03 21:49:52 +00:00
Daniel Dunbar
9f01a0db7d
utils: Remove (way) old nightly test scripts, I don't think anyone uses them and LNT has way better tools than this.
...
llvm-svn: 143655
2011-11-03 21:03:53 +00:00
Daniel Dunbar
803b761cbb
llvm-config-2: Implement build system support for getting the variables we only
...
know at build time.
llvm-svn: 143649
2011-11-03 21:01:36 +00:00
Daniel Dunbar
4a1a9eceb5
build/Make: Add support for INCLUDE_BUILD_DIR make variable, to specify that
...
component needs to include files from its ObjDir.
llvm-svn: 143648
2011-11-03 21:01:32 +00:00
Pete Cooper
65ba66c660
Reverted r143600 - selector reference change
...
llvm-svn: 143646
2011-11-03 20:47:50 +00:00
Bill Wendling
ed4cc4432f
Keep the Crack language as an external project.
...
llvm-svn: 143643
2011-11-03 20:10:01 +00:00
Daniel Dunbar
3fa708098a
llvm-build: Avoid followlinks keyword argument to os.walk.
...
- llvm-build should now be Python2.4 compatible as best I know.
llvm-svn: 143641
2011-11-03 19:45:52 +00:00
Dan Bailey
b68515c232
fixed global array handling for ptx to use the correct bit widths
...
llvm-svn: 143640
2011-11-03 19:24:46 +00:00
Daniel Dunbar
bf9bba47a1
build: Add initial cut at LLVMBuild.txt files.
...
llvm-svn: 143634
2011-11-03 18:53:17 +00:00
Pete Cooper
8a95aedb5d
DeadStoreElimination can now trim the size of a store if the end of it is dead.
...
Only currently done if the later store is writing to a power of 2 address or
has the same alignment as the earlier store as then its likely to not break up
large stores into smaller ones
Fixes <rdar://problem/10140300>
llvm-svn: 143630
2011-11-03 18:01:56 +00:00
Daniel Dunbar
453146e569
llvm-build: Update --write-llvmbuild to write out a standard LLVM style file
...
header.
llvm-svn: 143629
2011-11-03 17:56:31 +00:00
Daniel Dunbar
445e8f9d35
llvm-build: Add "--write-library-table" option for generating the C++ library
...
dependency table used by llvm-config.
llvm-svn: 143628
2011-11-03 17:56:28 +00:00
Daniel Dunbar
774421ec26
docs: Sketch docs for llvm-build tool.
...
llvm-svn: 143627
2011-11-03 17:56:24 +00:00
Daniel Dunbar
dbbb258666
llvm-build: Add --write-llvmbuild option, which writes out the component tree.
...
- Useful for migrating or auto-upgrading the format schema.
llvm-svn: 143626
2011-11-03 17:56:21 +00:00
Daniel Dunbar
f45369d7e8
llvm-build: Add --print-tree command line option.
...
llvm-svn: 143625
2011-11-03 17:56:18 +00:00
Daniel Dunbar
4897255255
llvm-build: Fill in some details w.r.t. component's parents.
...
llvm-svn: 143624
2011-11-03 17:56:16 +00:00
Daniel Dunbar
8844e3c0b2
llvm-build: Validate information on the loaded components and form the topological ordering among them (as well as validating that there are no cycles).
...
- Currently we require that all references between components (except the parent relation) fit into a DAG -- this could be relaxed later if it ever proves to be useful.
llvm-svn: 143623
2011-11-03 17:56:12 +00:00
Daniel Dunbar
84fc5ce7af
llvm-build: Fill in more of component parsing to be more strict and
...
differentiate between strings and lists.
llvm-svn: 143622
2011-11-03 17:56:10 +00:00
Daniel Dunbar
dd3fb562c4
llvm-build: Sketch code to load LLVMBuild.txt files.
...
llvm-svn: 143621
2011-11-03 17:56:06 +00:00
Daniel Dunbar
01b0588b42
build: Stub out llvm-build utility tool.
...
llvm-svn: 143620
2011-11-03 17:56:03 +00:00
Daniel Dunbar
6972721d5f
docs: Add initial docs on LLVMBuild organization.
...
llvm-svn: 143619
2011-11-03 17:55:59 +00:00
Daniel Dunbar
fa400a140b
llvm-config-2: Implement component dependency traversal, implement support for 'all', and fix a few other minor bugs.
...
- Still doesn't use actual generated component table, but that is now just a matter of wiring into the build system.
llvm-svn: 143617
2011-11-03 17:30:19 +00:00
Daniel Dunbar
b0f7a1472b
llvm-config: Start stubbing out a C++ version of llvm-config (as llvm-config-2,
...
for now).
- Mostly complete except for the data that needs to come from the build system
or the dependencies.
- Has some small improvements from current llvm-config:
o Uses TargetRegistry directly to get some information.
o Designed to work correctly when used from a CMake build tree (relatively
untested currently) (although pcc fixed this recently for old llvm-config).
llvm-svn: 143616
2011-11-03 17:30:16 +00:00
Craig Topper
0e7cbbabea
Add new X86 AVX2 VBROADCAST instructions.
...
llvm-svn: 143612
2011-11-03 07:35:53 +00:00
Galina Kistanova
98989469a2
Cleaned text, fixed HTML.
...
llvm-svn: 143607
2011-11-03 05:57:26 +00:00
Chad Rosier
bf5f4bec1a
Add support for sign-extending non-legal types in SelectSIToFP().
...
llvm-svn: 143603
2011-11-03 02:04:59 +00:00
Pete Cooper
e6173d81ae
Treat objc selector reference globals as invariant so that MachineLICM can hoist them out of loops. Fixes <rdar://problem/6027699>
...
llvm-svn: 143600
2011-11-03 00:56:36 +00:00
Chad Rosier
9589872af9
Remove some cruft from the BitcodeWriter, while still maintaining backward
...
compatibility in the BitcodeReader.
llvm-svn: 143598
2011-11-03 00:14:01 +00:00
Lang Hames
1f4603d498
Fixed parameter name.
...
llvm-svn: 143594
2011-11-02 23:37:04 +00:00
Chad Rosier
d294af104a
Removed unused variable.
...
llvm-svn: 143591
2011-11-02 23:21:55 +00:00
Bill Wendling
645eadac67
An array of chars of length 8 will also cause the stack protector to be inserted
...
into the function. Reflect that here so that the array will be placed next to
the SP.
<rdar://problem/10128329>
llvm-svn: 143590
2011-11-02 23:20:58 +00:00
Lang Hames
9929c423a1
Try to lower memset/memcpy/memmove to vector instructions on ARM where the alignment permits.
...
llvm-svn: 143582
2011-11-02 22:52:45 +00:00
Galina Kistanova
3246d3556b
Few corrections on the document page.
...
llvm-svn: 143578
2011-11-02 22:05:18 +00:00
Nick Lewycky
000307fef9
I added the first test to run llvm-dwarfdump.
...
llvm-svn: 143571
2011-11-02 21:02:27 +00:00
Nick Lewycky
d1ee7f8cf1
Don't emit a directory entry for the value in DW_AT_comp_dir, that is always
...
implied by directory index zero.
llvm-svn: 143570
2011-11-02 20:55:33 +00:00
Tobias Grosser
325569f716
docs: Fix two typos
...
llvm-svn: 143565
2011-11-02 19:51:04 +00:00
Daniel Dunbar
6c92223b37
build/Make: Update for rename of show-diagnostics.
...
llvm-svn: 143564
2011-11-02 19:48:19 +00:00
Michael J. Spencer
1085ce6d45
object: Add operator < for SymbolRef and SectionRef.
...
llvm-svn: 143563
2011-11-02 19:33:41 +00:00
Michael J. Spencer
d0f5b0e194
object/COFF: Properly initalize uses of DataRefImpl.
...
llvm-svn: 143562
2011-11-02 19:33:26 +00:00
Michael J. Spencer
e03ea9cd71
Object/Archive: Add symbol table iteration.
...
llvm-svn: 143561
2011-11-02 19:33:12 +00:00
Chad Rosier
9cf803c4bf
Add support for comparing integer non-legal types.
...
llvm-svn: 143559
2011-11-02 18:08:25 +00:00
Owen Anderson
fbb704f551
Fix the issue that r143552 was trying to address the _right_ way. One-register lists are legal on LDM/STM instructions, but we should not print the PUSH/POP aliases when they appear. This fixes round tripping on this instruction.
...
llvm-svn: 143557
2011-11-02 18:03:14 +00:00