OSDN Git Service
Benjamin Kramer [Sat, 22 Aug 2009 22:07:08 +0000 (22:07 +0000)]
Update CMake build, unbreak linux build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79779
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 21:45:03 +0000 (21:45 +0000)]
fix a build error on the clang-i686-linux tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79778
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 21:43:10 +0000 (21:43 +0000)]
rename TAI -> MAI, being careful not to make MAILJMP instructions :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79777
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 21:05:21 +0000 (21:05 +0000)]
mcasminfo doesn't use std::string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79774
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 21:03:30 +0000 (21:03 +0000)]
rename COFFMCAsmInfo -> MCAsmInfoCOFF, likewise for darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79773
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 21:01:26 +0000 (21:01 +0000)]
Regenerate configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79772
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 21:00:33 +0000 (21:00 +0000)]
Update copyright date.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79771
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 20:58:17 +0000 (20:58 +0000)]
move the MCAsmInfo .cpp/.h files into the right
directories and rename them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79768
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 20:56:12 +0000 (20:56 +0000)]
revert 79764, my dependencies failed me again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79767
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:54:03 +0000 (20:54 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79766
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:52:46 +0000 (20:52 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79765
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 20:50:18 +0000 (20:50 +0000)]
remove dead member.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79764
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 20:48:53 +0000 (20:48 +0000)]
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:46:59 +0000 (20:46 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79762
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:41:06 +0000 (20:41 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79760
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:40:21 +0000 (20:40 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79759
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:38:09 +0000 (20:38 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79758
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:30:53 +0000 (20:30 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79756
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:26:23 +0000 (20:26 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79755
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:25:44 +0000 (20:25 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79754
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:23:49 +0000 (20:23 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79753
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:18:03 +0000 (20:18 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79752
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:11:17 +0000 (20:11 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79751
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:08:44 +0000 (20:08 +0000)]
Normalize how the 'namespace llvm {' is used in this file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79750
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:07:03 +0000 (20:07 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79749
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:04:03 +0000 (20:04 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79748
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 22 Aug 2009 20:03:00 +0000 (20:03 +0000)]
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79747
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 19:35:08 +0000 (19:35 +0000)]
prune some redundant #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79746
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 19:19:12 +0000 (19:19 +0000)]
tweak #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79744
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Sat, 22 Aug 2009 17:12:53 +0000 (17:12 +0000)]
Record variable debug info at ISel time directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79742
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sat, 22 Aug 2009 11:46:16 +0000 (11:46 +0000)]
Some dummy cost model for s390x:
- Prefer short-imm instructions over ext-imm, when possible
- Prefer Z10 instructions over Z9, when possible
This hopefully should fix some dejagnu test fails on solaris
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79741
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 11:41:10 +0000 (11:41 +0000)]
llvm-mc/Mach-O: Improve symbol table support:
- Honor .globl.
- Set symbol type and section correctly ('nm' now works), and order symbols
appropriately.
- Take care to the string table so that the .o matches 'as' exactly (for ease
of testing).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79740
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 10:13:24 +0000 (10:13 +0000)]
llvm-mc/Mach-O: Sketch symbol table support.
- The only .s syntax this honors right now is emitting labels, and some parts
of the symbol table generation are wrong or faked.
- This is enough to get nm to report such symbols... incorrectly, but still.
Also, fixed byte emission to extend the previous fragment if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79739
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 10:09:17 +0000 (10:09 +0000)]
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79738
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 09:45:43 +0000 (09:45 +0000)]
Force triple for these tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79737
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 09:28:33 +0000 (09:28 +0000)]
llvm-mc: Hopefully fix Mach-O tests on big-endian platforms, force values to be
converted to Python ints if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79736
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 08:28:27 +0000 (08:28 +0000)]
llvm-mc/Mach-O: Move more logic for writing the Mach-O file into the writer
class, and kill off MCSectionData::FileOffset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79735
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 08:27:54 +0000 (08:27 +0000)]
llvm-mc: Rename / redefine MCFragment::FileOffset to MCFragment::Offset (the
section offset).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79734
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 07:22:36 +0000 (07:22 +0000)]
llvm-mc: Clean up some handling of symbol/section association to be more correct
(external was really undefined and there wasn't an explicit representation for
absolute symbols).
- This still needs some cleanup to how the absolute "pseudo" section is dealt
with, but I haven't figured out the nicest approach yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79733
91177308-0d34-0410-b5e6-
96231b3b80d8
Douglas Gregor [Sat, 22 Aug 2009 07:00:18 +0000 (07:00 +0000)]
CMake: Don't use copy_if_different for TableGen output, because it does not work with IDE targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79732
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Sat, 22 Aug 2009 06:32:36 +0000 (06:32 +0000)]
Reapply r79708 with the appropriate fix for the case that still requires locking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79731
91177308-0d34-0410-b5e6-
96231b3b80d8
Douglas Gregor [Sat, 22 Aug 2009 06:30:31 +0000 (06:30 +0000)]
TOT is 2.7svn for CMake, too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79730
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Sat, 22 Aug 2009 06:06:46 +0000 (06:06 +0000)]
Change SmallString::operator{=,+=} to take a StringRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79729
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 04:37:30 +0000 (04:37 +0000)]
Regenerate configure for 2.7svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79726
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 22 Aug 2009 04:33:54 +0000 (04:33 +0000)]
TOT is now 2.7svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79725
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 04:07:34 +0000 (04:07 +0000)]
revert r79708 + r79711
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79720
91177308-0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Sat, 22 Aug 2009 03:13:10 +0000 (03:13 +0000)]
Make x86 test actually test x86 code generation. Fix the
construct on ARM, which was breaking by coincidence, and add a similar
testcase for ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79719
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Sat, 22 Aug 2009 02:28:46 +0000 (02:28 +0000)]
Add new intrinsics for Neon vldN_lane and vstN_lane operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79716
91177308-0d34-0410-b5e6-
96231b3b80d8
Edward O'Callaghan [Sat, 22 Aug 2009 02:17:22 +0000 (02:17 +0000)]
Note down a few bits and bobs off the top of my head for ReleaseNotes-2.6.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79715
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Grosbach [Sat, 22 Aug 2009 01:42:39 +0000 (01:42 +0000)]
Add basic information about SJLJ EH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79714
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 22 Aug 2009 00:44:24 +0000 (00:44 +0000)]
rename test, make more specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79712
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Sat, 22 Aug 2009 00:41:47 +0000 (00:41 +0000)]
Actually remove unused static. Previous commit removed trailing
whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79711
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Sat, 22 Aug 2009 00:40:45 +0000 (00:40 +0000)]
Remove unused static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79710
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Sat, 22 Aug 2009 00:29:12 +0000 (00:29 +0000)]
Ease contention on this lock by noticing that all writes to the VTs array will
be of (dynamically) constant values, so races on it are immaterial. We just need
to ensure that at least one write has completed before return the pointer into it.
With this change, parllc exhibits essentially no overhead on 403.gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79708
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sat, 22 Aug 2009 00:28:50 +0000 (00:28 +0000)]
Add missing RUN line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79707
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sat, 22 Aug 2009 00:18:11 +0000 (00:18 +0000)]
Reduce the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79703
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Sat, 22 Aug 2009 00:13:23 +0000 (00:13 +0000)]
Use CHECK-NEXT to make sure we're only getting one copy of each shuffle
instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79702
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Fri, 21 Aug 2009 23:30:30 +0000 (23:30 +0000)]
Make unit-at-a-time on by default to match the behavior of llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79698
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:30:15 +0000 (23:30 +0000)]
llvm-mc: Improve handling of implicit alignment for magic section directives
(e.g., .objc_message_refs).
- Just emit a .align when we see the directive; this isn't exactly what 'as'
does but in practice it should be ok, at least for now. See FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79697
91177308-0d34-0410-b5e6-
96231b3b80d8
Eric Christopher [Fri, 21 Aug 2009 23:29:40 +0000 (23:29 +0000)]
Kill trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79696
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:13:12 +0000 (23:13 +0000)]
remove the directory too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79692
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:12:47 +0000 (23:12 +0000)]
Revert r79563
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79691
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:12:15 +0000 (23:12 +0000)]
revert r79562 + r79563
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79690
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:11:36 +0000 (23:11 +0000)]
Make MSVC happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79689
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 23:09:47 +0000 (23:09 +0000)]
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79688
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:08:45 +0000 (23:08 +0000)]
revert r79631
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79686
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Aug 2009 23:08:09 +0000 (23:08 +0000)]
revert 79631
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79685
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:07:38 +0000 (23:07 +0000)]
llvm-mc/Mach-O: Support .o emission for .org and .align.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79684
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 23:01:53 +0000 (23:01 +0000)]
llvm-mc: In a .fill directive, still honor .align even if invalid maximum bytes
count is given (this matches 'as').
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79683
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 22:10:30 +0000 (22:10 +0000)]
Implement APInt <-> APFloat conversion for IEEE 128-bit floats.
This fixes PR2555
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79677
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 21:58:55 +0000 (21:58 +0000)]
Rename ARM "lane_cst" operands to "nohash_imm" since they are used for
several things other than Neon vector lane numbers. For inline assembly
operands with a "c" print code, check that they really are immediates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79676
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Kleckner [Fri, 21 Aug 2009 21:03:57 +0000 (21:03 +0000)]
Fix a bug where the DWARF emitter in the JIT was not initializing alignment
bytes. libgcc doesn't seem to mind, but if you pass this DWARF to GDB, it
doesn't like it.
Also make the JIT memory manager to initialize it's memory to garbage in debug
mode, so that it's easier to find bugs like these in the future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79674
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 20:54:19 +0000 (20:54 +0000)]
Match VTRN, VZIP, and VUZP shuffles. Restore the tests for these operations,
now using shuffles instead of intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79673
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 20:02:37 +0000 (20:02 +0000)]
Add fcopysign instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79664
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 21 Aug 2009 19:59:12 +0000 (19:59 +0000)]
Try again at privatizing the layout info map, with a rewritten patch.
This preserves the existing behavior much more closely than my previous attempt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79663
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:52:42 +0000 (18:52 +0000)]
Expand few nodes until someone will be crazy enough to implement them natively :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79659
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:41:02 +0000 (18:41 +0000)]
Typo :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79657
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:37:28 +0000 (18:37 +0000)]
Correct instruction names for subtract-with-borrow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79656
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 18:29:01 +0000 (18:29 +0000)]
llvm-mc/Mach-O: Support byte and fill value emission.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79652
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 21 Aug 2009 18:27:26 +0000 (18:27 +0000)]
Don't assume that the operand of an inttoptr is an pointer-sized integer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79651
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Fri, 21 Aug 2009 18:16:06 +0000 (18:16 +0000)]
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79649
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 18:15:41 +0000 (18:15 +0000)]
Handle 'r' inline asm constraint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79648
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 17:41:48 +0000 (17:41 +0000)]
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79643
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Fri, 21 Aug 2009 17:16:10 +0000 (17:16 +0000)]
Fix a problem noticed by gcc-4.4:
warning: comparison is always true due to limited range of data type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79642
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 21 Aug 2009 16:52:54 +0000 (16:52 +0000)]
Change getelementptr folding to use APInt instead of uint64_t for
offset computations. This fixes a truncation bug on targets that
don't have 64-bit pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79639
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Fri, 21 Aug 2009 16:35:24 +0000 (16:35 +0000)]
Add some tests for vext.16 and vext.32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79638
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 16:17:36 +0000 (16:17 +0000)]
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 21 Aug 2009 15:43:35 +0000 (15:43 +0000)]
llvm-mc: Accept .fill size of 8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79635
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 15:41:56 +0000 (15:41 +0000)]
Fix a typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79634
91177308-0d34-0410-b5e6-
96231b3b80d8
Andreas Neustifter [Fri, 21 Aug 2009 15:27:35 +0000 (15:27 +0000)]
Removed profiling test, lli not available on all platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79633
91177308-0d34-0410-b5e6-
96231b3b80d8
Sanjiv Gupta [Fri, 21 Aug 2009 15:22:33 +0000 (15:22 +0000)]
Add a pass to do call graph analyis to overlay the autos and frame sections of
leaf functions. This pass will be extended to color other nodes of the call tree
as well in future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79631
91177308-0d34-0410-b5e6-
96231b3b80d8
Benjamin Kramer [Fri, 21 Aug 2009 13:59:49 +0000 (13:59 +0000)]
Fix build on platforms where stdint.h is not implicitly included in the standard headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79629
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:50:54 +0000 (12:50 +0000)]
More cpp backend fixes. Now for FP stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79626
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:41:42 +0000 (12:41 +0000)]
Fix some typos and use type-based isel for VZIP/VUZP/VTRN
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79625
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:41:24 +0000 (12:41 +0000)]
Add lowering of ARM 4-element shuffles to multiple instructios via perfectshuffle-generated table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79624
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:41:03 +0000 (12:41 +0000)]
Add simple cost model to perfect shuffle. Currently we're doing just greedy search for cost instead of (proper) dynamic programming approach.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79623
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:40:50 +0000 (12:40 +0000)]
Add nodes & dummy matchers for some v{zip,uzp,trn} instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79622
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:40:35 +0000 (12:40 +0000)]
Expand EXTRACT_SUBVECTOR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79621
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:40:21 +0000 (12:40 +0000)]
Provide vext.{16,32}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79620
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Fri, 21 Aug 2009 12:40:07 +0000 (12:40 +0000)]
Use masks not nodes for vector shuffle predicates. Provide set of 'legal' masks, so legalizer won't infinite cycle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79619
91177308-0d34-0410-b5e6-
96231b3b80d8