Michael J. Spencer
6a0479ab09
Another git-svn dcommit test. (last time I got access and client errors and it broke everything locally;/)
...
llvm-svn: 121484
2010-12-10 14:27:18 +00:00
Michael J. Spencer
1f5a135d08
Test git svn dcommit
...
llvm-svn: 121483
2010-12-10 13:44:26 +00:00
Anton Korobeynikov
a0ee88fcd1
Another dummy commit to check GIT mirroring
...
llvm-svn: 121481
2010-12-10 11:49:22 +00:00
Anton Korobeynikov
948f666908
Dummy commit to test GIT mirroring
...
llvm-svn: 121479
2010-12-10 11:38:59 +00:00
NAKAMURA Takumi
e6b65793ea
macho-dump: Fix CMake build, following up to r121466.
...
llvm-svn: 121476
2010-12-10 09:18:26 +00:00
Rafael Espindola
0e665e502d
Fixed version of 121434 with no new memory leaks.
...
llvm-svn: 121471
2010-12-10 07:39:47 +00:00
Bob Wilson
f99cd09e3f
The Neon vqdmlsl_lane and vqdmlal_lane intrinsics have 4 arguments, not 3.
...
llvm-svn: 121469
2010-12-10 06:37:53 +00:00
Daniel Dunbar
37bc9a74ac
Mach-O/ARM: Add relocation type enumeration.
...
llvm-svn: 121467
2010-12-10 06:19:49 +00:00
Daniel Dunbar
599da0cadf
macho-dump: Switch to C++ macho-dump tool.
...
llvm-svn: 121466
2010-12-10 06:19:45 +00:00
Daniel Dunbar
fd96efb8e9
Mach-O: Tweak field name.
...
llvm-svn: 121465
2010-12-10 06:19:39 +00:00
Nick Lewycky
0177564114
Remove dead header.
...
llvm-svn: 121463
2010-12-10 05:12:54 +00:00
Rafael Espindola
676ea9d9b4
Fix cmake build.
...
llvm-svn: 121462
2010-12-10 04:28:37 +00:00
Rafael Espindola
011e168728
Revert my previous patch to make the valgrind bots happy.
...
llvm-svn: 121461
2010-12-10 04:01:09 +00:00
NAKAMURA Takumi
5ad673e4d9
Add dependency to "make check".
...
cmake/modules/AddLLVM.cmake: Add empty "phony" target in add_llvm_loadable_module() even if loadable module were not supported.
llvm-svn: 121455
2010-12-10 02:15:36 +00:00
NAKAMURA Takumi
e3f485b0dc
lib/Target/CMakeLists.txt: Add missing lib/Target/TargetAsmInfo.cpp, following up to r121434.
...
llvm-svn: 121454
2010-12-10 02:15:24 +00:00
Kevin Enderby
a2efb1ad4e
Fix the leak from r121401 of the Operands erased in the list but not deleted.
...
llvm-svn: 121450
2010-12-10 01:41:56 +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
Nate Begeman
8c00ecd290
Add some missing predicates.
...
llvm-svn: 121445
2010-12-10 00:54:26 +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
Nate Begeman
cb6d1c8193
Formalize the notion that AVX and SSE are non-overlapping extensions from the compiler's point of view. Per email discussion, we either want to always use VEX-prefixed instructions or never use them, and are taking "HasAVX" to mean "Always use VEX". Passing -mattr=-avx,+sse42 should serve to restore legacy SSE support when desirable.
...
llvm-svn: 121439
2010-12-10 00:26:57 +00:00
Rafael Espindola
03ad1e8f1f
Initial support for the cfi directives. This is just enough to get
...
f:
.cfi_startproc
nop
.cfi_endproc
assembled (on ELF).
llvm-svn: 121434
2010-12-09 23:48:29 +00:00
Devang Patel
a8fa89a39c
Print breakpoints for call instructions. This is used by optimized debug info test harness.
...
llvm-svn: 121432
2010-12-09 23:37:07 +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
Devang Patel
769b99c4a5
Add initial support to measure local variables.
...
llvm-svn: 121428
2010-12-09 23:18:58 +00:00
Rafael Espindola
ebe4cab1db
Use const references.
...
llvm-svn: 121426
2010-12-09 23:08:35 +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
f8eaf8a243
Thumb ldr reg+imm offsets were encoded incorrectly. The scaling factor of the
...
t_addrmode_s# address modes is used for ASM printing, not for encoding.
<rdar://problem/8745375>
llvm-svn: 121417
2010-12-09 21:49:07 +00:00
Nate Begeman
4a62a3e229
Add support for AVX to materialize +0.0 when doing scalar FP.
...
llvm-svn: 121415
2010-12-09 21:43:51 +00:00
Owen Anderson
4be3b6db5c
Use the new IsAligned fixup flag to improve fixup encodings for Thumb2 branches. This is still not perfect,
...
but it gets many more of them correct than it did previously.
llvm-svn: 121414
2010-12-09 21:34:47 +00:00
Stuart Hastings
f7bba0cfe3
Initial support for nested CALLSEQ_START/CALLSEQ_END constructs in LegalizeDAG.
...
Necessary for byval support on ARM. Radar 7662569.
llvm-svn: 121412
2010-12-09 21:25:20 +00:00
Jakob Stoklund Olesen
fe4b9ee934
Remember to filter out reserved rergisters from the allocation order.
...
llvm-svn: 121411
2010-12-09 21:20:46 +00:00
Jakob Stoklund Olesen
5bb5c67227
Add a forgotten initializer for CheckedFirstInterference.
...
llvm-svn: 121410
2010-12-09 21:20:44 +00:00
Dan Gohman
d5b1cf4bc8
Give CurStreamType's enum a name. This works around what is apparently
...
a bug in Apple GCC 4.0.
llvm-svn: 121409
2010-12-09 20:35:40 +00:00
Owen Anderson
a8ac35b468
Fix an issue in some Thumb fixups, where the effective PC address needs to be 4-byte aligned when calculating
...
the offset. Add a new fixup flag to represent this, and use it for the one fixups that I have a testcase for needing
this. It's quite likely that the other Thumb fixups will need this too, and to have their fixup encoding logic
adjusted accordingly.
llvm-svn: 121408
2010-12-09 20:27:52 +00:00
Jim Grosbach
61fe7b9ee5
Rename CB/CBZ specific fixup accordingly.
...
llvm-svn: 121404
2010-12-09 19:50:12 +00:00
Devang Patel
bef09ddec8
Add assert to catch an attempt to emit .byte 256
...
llvm-svn: 121402
2010-12-09 19:26:21 +00:00
Kevin Enderby
55cb19813e
Add support for parsing ARM arithmetic instructions that update or don't update
...
the condition codes. Where the ones that do have an 's' suffix and the ones
that don't don't have the suffix. The trick is if MatchInstructionImpl() fails
we try again after adding a CCOut operand with the correct value and removing
the 's' if present. Four simple test cases added for now, lots more to come.
llvm-svn: 121401
2010-12-09 19:19:43 +00:00
Jim Grosbach
9b3730fc77
Rename the encoder method for t_cbtarget to match.
...
llvm-svn: 121399
2010-12-09 19:04:53 +00:00
Jim Grosbach
57d420438a
Thumb needs a few different encoding schemes for branch targets. Rename
...
t_brtarget to be more specific.
llvm-svn: 121398
2010-12-09 19:01:46 +00:00
Bob Wilson
3c35e2ab2f
80-column fixes.
...
llvm-svn: 121395
2010-12-09 18:43:35 +00:00
Jim Grosbach
8bc33cc6e5
ARM stm/ldm instructions require more than one register in the register list.
...
Otherwise, a plain str/ldr should be used instead. Make sure we account for
that in prologue/epilogue code generation.
rdar://8745460
llvm-svn: 121391
2010-12-09 18:31:13 +00:00
Bob Wilson
bd5b0c9ec6
Add a license comment to the generated arm_neon.h header.
...
Remove the previous header. I don't think we need to expose to end users
that we use TableGen to produce our version of arm_neon.h, and that header
was also using doubleslash comments which could be a problem when using it
in strict C89 compilations.
llvm-svn: 121390
2010-12-09 18:31:01 +00:00
Andrew Trick
ec37b93b07
Added register reassignment prototype to RAGreedy. It's a simple
...
heuristic to reshuffle register assignments when we can't find an
available reg.
llvm-svn: 121388
2010-12-09 18:15:21 +00:00
Michael J. Spencer
1b2e087ff3
More code not compiled by CMake. :(.
...
llvm-svn: 121387
2010-12-09 18:06:07 +00:00
Michael J. Spencer
4ff8736610
CMake: Add FileUpdate to the build.
...
llvm-svn: 121386
2010-12-09 17:54:44 +00:00
Michael J. Spencer
b38d1766d6
Missed FileUpdate because CMake doesn't build it yet :(.
...
llvm-svn: 121385
2010-12-09 17:48:55 +00:00
Michael J. Spencer
3dbfb7c62e
Support/Windows/PathV2: Fix header comment.
...
llvm-svn: 121383
2010-12-09 17:37:42 +00:00
Michael J. Spencer
95b8bf9f67
Fix whitespace.
...
llvm-svn: 121382
2010-12-09 17:37:32 +00:00
Michael J. Spencer
c4c4e1133d
Support: Move c_str from SmallVector back to SmallString and add a free standing
...
templated c_str in Windows.h to replace it.
llvm-svn: 121381
2010-12-09 17:37:18 +00:00