Eric Christopher [Mon, 7 Nov 2011 09:18:35 +0000 (09:18 +0000)]
Fix up comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143919
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Mon, 7 Nov 2011 09:18:32 +0000 (09:18 +0000)]
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143918
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Mon, 7 Nov 2011 08:26:24 +0000 (08:26 +0000)]
Add AVX2 variable shift instructions and intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143915
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Mon, 7 Nov 2011 03:20:35 +0000 (03:20 +0000)]
Add AVX2 VPMOVMASK instructions and intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143904
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Mon, 7 Nov 2011 02:00:04 +0000 (02:00 +0000)]
Add AVX2 VEXTRACTI128 and VINSERTI128 instructions. Fix VPERM2I128 to be qualified with HasAVX2 instead of HasAVX. Mark VINSERTF128 and VEXTRACTF128 as never having side effects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143902
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Mon, 7 Nov 2011 00:54:28 +0000 (00:54 +0000)]
Fix accidental edit to __builtin_ia32_vperm2f128_ps256's name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143901
91177308-0d34-0410-b5e6-
96231b3b80d8
NAKAMURA Takumi [Sun, 6 Nov 2011 23:37:22 +0000 (23:37 +0000)]
Fix CRT selection logic when using CMake NMake generator.
CMAKE_CONFIGURATION_TYPES is only set on Visual Studio generators. For NMake CMAKE_BUILD_TYPE is used instead.
Patch by EJose Fonseca!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143898
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Sun, 6 Nov 2011 23:04:08 +0000 (23:04 +0000)]
More AVX2 instructions and their intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143895
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sun, 6 Nov 2011 20:37:06 +0000 (20:37 +0000)]
Replace (Lower|Upper)caseString in favor of StringRef's newest methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143891
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sun, 6 Nov 2011 20:36:50 +0000 (20:36 +0000)]
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143890
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sun, 6 Nov 2011 19:57:04 +0000 (19:57 +0000)]
Revert "llvm-config-2: Switch to using real library dependency table." while I
investigate build failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143888
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sun, 6 Nov 2011 18:04:49 +0000 (18:04 +0000)]
llvm-config: Users are allowed to provide component names in mixed case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143881
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sun, 6 Nov 2011 18:04:43 +0000 (18:04 +0000)]
ADT/StringRef: Add ::lower() and ::upper() methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143880
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sun, 6 Nov 2011 18:04:23 +0000 (18:04 +0000)]
llvm-config-2: Switch to using real library dependency table.
- Also, fix a refacto that left extra "all" component in list (this is now
defined in the groups explicitly)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143879
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Trick [Sun, 6 Nov 2011 17:59:24 +0000 (17:59 +0000)]
Release Notes: add a description of -enable-iv-rewrite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143878
91177308-0d34-0410-b5e6-
96231b3b80d8
Peter Collingbourne [Sun, 6 Nov 2011 16:45:46 +0000 (16:45 +0000)]
Return only the least significant 8 bits of the exit status from
Process::Wait on Windows (mimicing POSIX behaviour).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143876
91177308-0d34-0410-b5e6-
96231b3b80d8
NAKAMURA Takumi [Sun, 6 Nov 2011 06:51:58 +0000 (06:51 +0000)]
docs/GettingStarted.html: [Git] Add another example for "[Gmail]/Drafts" in Traditional Chinese.
Thanks to Chen Weiren.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143862
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Sun, 6 Nov 2011 06:12:20 +0000 (06:12 +0000)]
Add more AVX2 instructions and intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143861
91177308-0d34-0410-b5e6-
96231b3b80d8
Chandler Carruth [Sat, 5 Nov 2011 21:18:59 +0000 (21:18 +0000)]
CMake should join the party in a post 3.0 world. ;] This brings CMake's
version in-line with the configure-based version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143834
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Sat, 5 Nov 2011 20:16:15 +0000 (20:16 +0000)]
Add support for passing i1, i8, and i16 call parameters. Also, be sure to
zero-extend the constant integer encoding. Test case provides testing for
both call parameters and materialization of i1, i8, and i16 types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143821
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 16:20:52 +0000 (16:20 +0000)]
Update lit's list of tools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143815
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 16:01:13 +0000 (16:01 +0000)]
Audited all the format strings in libDebugInfo and fixed those that didn't match the types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143814
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 15:35:00 +0000 (15:35 +0000)]
Reduce the offsets in DwarfDebugInfoEntry to 32 bit, they're printed with %x and
that breaks on big-endian machines.
I have to clean up the 32/64 bit confusion in libDebugInfo some day.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143812
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 13:11:25 +0000 (13:11 +0000)]
Twinify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143811
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 12:13:21 +0000 (12:13 +0000)]
MachOObject: Use DataExtractor's uleb parser instead of rolling our own.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143810
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 11:52:44 +0000 (11:52 +0000)]
Add an option to pad an uleb128 to MCObjectWriter and remove the uleb128 encoding from the DWARF asm printer.
As a side effect we now print dwarf ulebs with .ascii directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143809
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sat, 5 Nov 2011 10:48:42 +0000 (10:48 +0000)]
Do simple cross-block DSE when we encounter a free statement. Fixes PR11240.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143808
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 09:45:17 +0000 (09:45 +0000)]
Fix pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143802
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Sat, 5 Nov 2011 08:57:40 +0000 (08:57 +0000)]
Add more PRI.64 macros for MSVC and use them throughout the codebase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 5 Nov 2011 06:30:03 +0000 (06:30 +0000)]
build/cmake: Enable initial llvm-build integration.
- Generates the llvm-config-2 LibraryDependencies.inc file.
- Generates dependency information so that cmake will automatically reconfigure
when LLVMBuild.txt files are changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143793
91177308-0d34-0410-b5e6-
96231b3b80d8
Peter Collingbourne [Sat, 5 Nov 2011 04:17:28 +0000 (04:17 +0000)]
Recommend the -flto flag instead of -use-gold-plugin, and update
other aspects of the gold plugin docs to reflect reality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143785
91177308-0d34-0410-b5e6-
96231b3b80d8
Peter Collingbourne [Sat, 5 Nov 2011 04:17:25 +0000 (04:17 +0000)]
Now that the linker supports lazily materialising globals, don't
materialise them in LTO.
I observed a ~0.5-1% speedup for an LTO link of opt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143784
91177308-0d34-0410-b5e6-
96231b3b80d8
Peter Collingbourne [Sat, 5 Nov 2011 04:17:20 +0000 (04:17 +0000)]
Use absolute path to exportsfile in gold plugin CMake build.
(Ninja generator requirement.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143783
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 5 Nov 2011 04:07:49 +0000 (04:07 +0000)]
utils/llvm-build: Ensure output directory exists for tools which write various fragments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143782
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 5 Nov 2011 04:07:43 +0000 (04:07 +0000)]
utils/llvm-build: Add trivial quoting of slashes for CMake fragment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143781
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Sat, 5 Nov 2011 00:02:56 +0000 (00:02 +0000)]
Allow i1 to be promoted to i32 for ARM APCS calling convention.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143755
91177308-0d34-0410-b5e6-
96231b3b80d8
Pete Cooper [Fri, 4 Nov 2011 23:49:14 +0000 (23:49 +0000)]
Added missing &. Fixes <rdar://problem/
10393723>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143753
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 4 Nov 2011 23:46:11 +0000 (23:46 +0000)]
Enhanced vzeroupper insertion pass that avoids inserting vzeroupper where it is unnecessary through local analysis. Patch from Bruno Cardoso Lopes, with some additional changes.
I'm going to wait for any review comments and perform some additional testing before turning this on by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143750
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Fri, 4 Nov 2011 23:45:39 +0000 (23:45 +0000)]
Cannot create a result register for non-legal types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143749
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 23:40:14 +0000 (23:40 +0000)]
build/make: Fix the output path of the llvm-config-2 library dependency table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143746
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 23:40:11 +0000 (23:40 +0000)]
llvm-build: Quote colons in target names, in an attempt to make msys happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143745
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 23:10:37 +0000 (23:10 +0000)]
llvm-build: Add initial --write-cmake-fragment option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143744
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Fri, 4 Nov 2011 23:09:49 +0000 (23:09 +0000)]
When materializing an i32, SExt vs ZExt doesn't matter when we're trying to fit
in a 16-bit immediate. However, for the shorter non-legal types (i.e., i1, i8,
i16) we should not sign-extend. This prevents us from materializing things
such as 'true' (i.e., i1 1).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143743
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 23:04:05 +0000 (23:04 +0000)]
build/cmake: Change to require Python be available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143742
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Fri, 4 Nov 2011 22:29:00 +0000 (22:29 +0000)]
Enable support for materializing i1, i8, and i16 integers via move immediate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143739
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Fri, 4 Nov 2011 22:24:36 +0000 (22:24 +0000)]
Add mips ELF relocation types. Patch by Jack Carter!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143738
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 4 Nov 2011 20:40:41 +0000 (20:40 +0000)]
Fix some misplaced punctuation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143737
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Fri, 4 Nov 2011 20:20:34 +0000 (20:20 +0000)]
Add triple to test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143735
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 19:04:42 +0000 (19:04 +0000)]
build/cmake: Coalesce the configuration time header include fragment generation
for target definitions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143731
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 19:04:39 +0000 (19:04 +0000)]
build/cmake: Coalesce in-tree sanity checks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143730
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 19:04:37 +0000 (19:04 +0000)]
build/cmake: Tidy up specification of build/include options for (tools, runtime,
examples, and tests).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143729
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 19:04:35 +0000 (19:04 +0000)]
build/cmake: Move all the user controllable options into top-level CMakeLists
for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143728
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 19:04:23 +0000 (19:04 +0000)]
build/cmake: Use tblgen macro directly instead of llvm_tablegen, which just
added a layer of indirection with no value (not even conciseness).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143727
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Fri, 4 Nov 2011 19:00:29 +0000 (19:00 +0000)]
Emit declarations before definitions if they are available. This causes DW_AT_specification to
point back in the file in the included testcase. Fixes PR11300.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143726
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 4 Nov 2011 18:48:00 +0000 (18:48 +0000)]
Reformatting changes to get rid of blank lines, put code on one line, and to
decrease some code indentation. No intended functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143723
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 4 Nov 2011 18:45:34 +0000 (18:45 +0000)]
Add missing includes/decls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143722
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 4 Nov 2011 18:39:16 +0000 (18:39 +0000)]
Add tests for existing InstSimplify features.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143721
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 4 Nov 2011 18:32:42 +0000 (18:32 +0000)]
Teach instsimplify to simplify calls to undef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143719
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 4 Nov 2011 18:30:30 +0000 (18:30 +0000)]
Add missing includes/class declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143718
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 4 Nov 2011 18:29:09 +0000 (18:29 +0000)]
Add missing forward declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143717
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 4 Nov 2011 18:19:43 +0000 (18:19 +0000)]
Add a couple missing includes; found while analyzing LLVM headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143716
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 4 Nov 2011 18:11:56 +0000 (18:11 +0000)]
Delete names for unused parameters in inline function definitions in headers, so LLVM users can compile with -Wunused-parameter. PR11257; based on patch by Kevin Harris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143715
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 4 Nov 2011 17:57:13 +0000 (17:57 +0000)]
Build llvmCore with RTTI enabled. <rdar://problem/
10395761>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143714
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 4 Nov 2011 17:29:35 +0000 (17:29 +0000)]
Add missing argument for atomic instructions in c++ backend. PR11268, part 2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143712
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 17:14:44 +0000 (17:14 +0000)]
utils: Remove build-for-llvm-top.sh and ModuleInfo.txt, which are not documented and I am pretty sure no one uses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143708
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Fri, 4 Nov 2011 17:07:11 +0000 (17:07 +0000)]
Remove declarations for functions that don't exist (and never have).
Patch by Anders Waldenborg <anders@0x63.nu>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143705
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Fri, 4 Nov 2011 13:52:17 +0000 (13:52 +0000)]
Simplify code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143695
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 4 Nov 2011 09:34:06 +0000 (09:34 +0000)]
Move comment to the correct place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143690
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 4 Nov 2011 09:30:19 +0000 (09:30 +0000)]
Make the Mangler an ivar so that it doesn't have to be passed around everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143689
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 4 Nov 2011 09:24:40 +0000 (09:24 +0000)]
Refactor the MCContext so that it's an ivar instead of a local which is passed
around. This is important for some future work as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143688
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Fri, 4 Nov 2011 06:59:49 +0000 (06:59 +0000)]
Add intrinsics for X86 vcvtps2ph and vcvtph2ps instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143683
91177308-0d34-0410-b5e6-
96231b3b80d8
Craig Topper [Fri, 4 Nov 2011 06:59:21 +0000 (06:59 +0000)]
Add intrinsics for X86 vcvtps2ph and vcvtph2ps instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143682
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 4 Nov 2011 01:48:58 +0000 (01:48 +0000)]
Fix some minor scheduling itinerary bug. It's not expected to actually affect codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143675
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 01:09:02 +0000 (01:09 +0000)]
utils: Rename the "llvmbuild" script to llvm-compilers-check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143673
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Fri, 4 Nov 2011 00:58:10 +0000 (00:58 +0000)]
Indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143670
91177308-0d34-0410-b5e6-
96231b3b80d8
Chad Rosier [Fri, 4 Nov 2011 00:50:21 +0000 (00:50 +0000)]
Add fast-isel support for returning i1, i8, and i16.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143669
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 4 Nov 2011 00:48:26 +0000 (00:48 +0000)]
Speculatively revert "DeadStoreElimination can now trim the size of a store if
the end of it is dead.", which appears to break bootstrapping LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143668
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 23:01:50 +0000 (23:01 +0000)]
build: Use right Echo variable and use Verb appropriately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143664
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 22:46:21 +0000 (22:46 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143662
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 22:46:19 +0000 (22:46 +0000)]
llvm-build: Add initial code for --write-make-fragment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143661
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 3 Nov 2011 21:49:52 +0000 (21:49 +0000)]
Reapply r143206, with fixes. Disallow physical register lifetimes
across calls, and only check for nested dependences on the special
call-sequence-resource register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143660
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 21:03:53 +0000 (21:03 +0000)]
utils: Remove (way) old nightly test scripts, I don't think anyone uses them and LNT has way better tools than this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143655
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 21:01:36 +0000 (21:01 +0000)]
llvm-config-2: Implement build system support for getting the variables we only
know at build time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143649
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 21:01:32 +0000 (21:01 +0000)]
build/Make: Add support for INCLUDE_BUILD_DIR make variable, to specify that
component needs to include files from its ObjDir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143648
91177308-0d34-0410-b5e6-
96231b3b80d8
Pete Cooper [Thu, 3 Nov 2011 20:47:50 +0000 (20:47 +0000)]
Reverted r143600 - selector reference change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143646
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Thu, 3 Nov 2011 20:10:01 +0000 (20:10 +0000)]
Keep the Crack language as an external project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143643
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 19:45:52 +0000 (19:45 +0000)]
llvm-build: Avoid followlinks keyword argument to os.walk.
- llvm-build should now be Python2.4 compatible as best I know.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143641
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Bailey [Thu, 3 Nov 2011 19:24:46 +0000 (19:24 +0000)]
fixed global array handling for ptx to use the correct bit widths
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143640
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 18:53:17 +0000 (18:53 +0000)]
build: Add initial cut at LLVMBuild.txt files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143634
91177308-0d34-0410-b5e6-
96231b3b80d8
Pete Cooper [Thu, 3 Nov 2011 18:01:56 +0000 (18:01 +0000)]
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>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143630
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:31 +0000 (17:56 +0000)]
llvm-build: Update --write-llvmbuild to write out a standard LLVM style file
header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143629
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:28 +0000 (17:56 +0000)]
llvm-build: Add "--write-library-table" option for generating the C++ library
dependency table used by llvm-config.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143628
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:24 +0000 (17:56 +0000)]
docs: Sketch docs for llvm-build tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143627
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:21 +0000 (17:56 +0000)]
llvm-build: Add --write-llvmbuild option, which writes out the component tree.
- Useful for migrating or auto-upgrading the format schema.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143626
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:18 +0000 (17:56 +0000)]
llvm-build: Add --print-tree command line option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143625
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:16 +0000 (17:56 +0000)]
llvm-build: Fill in some details w.r.t. component's parents.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143624
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:12 +0000 (17:56 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143623
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:10 +0000 (17:56 +0000)]
llvm-build: Fill in more of component parsing to be more strict and
differentiate between strings and lists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143622
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:06 +0000 (17:56 +0000)]
llvm-build: Sketch code to load LLVMBuild.txt files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143621
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 3 Nov 2011 17:56:03 +0000 (17:56 +0000)]
build: Stub out llvm-build utility tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143620
91177308-0d34-0410-b5e6-
96231b3b80d8