1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
Commit Graph

75072 Commits

Author SHA1 Message Date
Jakob Stoklund Olesen
ee6264c790 Add <imp-def> operands to QQ and QQQQ stack loads.
This pleases the register scavenger and brings
test/CodeGen/ARM/2011-08-12-vmovqqqq-pseudo.ll a little closer to
working with -verify-machineinstrs.

llvm-svn: 138164
2011-08-20 00:17:45 +00:00
Chad Rosier
55c57f07dd VMOVQQQQs pseudo instructions are only created by ARMBaseInstrInfo::copyPhysReg.
Therefore, rather then generate a pseudo instruction, which is later expanded,
generate the necessary instructions in place.

llvm-svn: 138163
2011-08-20 00:17:25 +00:00
Eric Christopher
ca1e7d27a9 Remove migrated or obsolete tests.
llvm-svn: 138156
2011-08-20 00:08:36 +00:00
Bill Wendling
bfc0c6c1de If we're splitting the landing pad block and assigning it only one predecessor,
then don't split it a second time, since that block will be dead.

llvm-svn: 138153
2011-08-19 23:46:30 +00:00
Eric Christopher
63beefefa6 Remove migrated or obsolete tests.
llvm-svn: 138149
2011-08-19 23:41:50 +00:00
Devang Patel
e4127d626e Do not use named md nodes to track variables that are completely optimized. This does not scale while doing LTO with debug info. New approach is to include list of variables in the subprogram info directly.
llvm-svn: 138145
2011-08-19 23:28:12 +00:00
Jim Grosbach
be94868d66 Thumb parsing and encoding support for NOP.
The irony is not lost that this is not a completely trivial patchset.

llvm-svn: 138143
2011-08-19 23:24:36 +00:00
Eric Christopher
acc50c59d7 Remove obsolete test.
llvm-svn: 138141
2011-08-19 23:18:12 +00:00
Eric Christopher
4757132347 Remove migrated test.
llvm-svn: 138140
2011-08-19 23:18:10 +00:00
Jim Grosbach
969c7a9037 Use regex to remove false dependencies on register allocation.
llvm-svn: 138137
2011-08-19 23:10:31 +00:00
Eric Christopher
5ee860b0ca Remove obsolete or migrated tests.
llvm-svn: 138135
2011-08-19 23:08:41 +00:00
Akira Hatanaka
02cff5ae2d Fix bug in function IsShiftedMask. Remove parameter SizeInBits, which is not
needed for Mips32.

llvm-svn: 138132
2011-08-19 22:59:00 +00:00
Jim Grosbach
326e78be7a Thumb assembly parsing and encoding for NEG.
llvm-svn: 138131
2011-08-19 22:51:03 +00:00
Benjamin Kramer
cca4305d51 Roll back the rest of r126557. It's a hack that will break in some obscure cases.
llvm-svn: 138130
2011-08-19 22:39:31 +00:00
Jim Grosbach
3cb3facb8f Fix NEG alias
llvm-svn: 138125
2011-08-19 22:30:58 +00:00
Jim Grosbach
a97661cac4 Be more lenient on tied operand matching for MUL.
llvm-svn: 138124
2011-08-19 22:30:46 +00:00
Bruno Cardoso Lopes
9979e44f1b Re-write part of VEX encoding logic, to be more easy to read! Also fix
a bug and add a testcase!

llvm-svn: 138123
2011-08-19 22:27:29 +00:00
Eric Christopher
eab05a72ef Remove tests migrated to clang.
llvm-svn: 138121
2011-08-19 22:26:09 +00:00
Eric Christopher
2c909109c5 Remove previously migrated test.
llvm-svn: 138120
2011-08-19 22:26:06 +00:00
Jim Grosbach
5481e15390 Update tests.
llvm-svn: 138116
2011-08-19 22:19:48 +00:00
Eric Christopher
0514063325 Remove tests migrated to clang or are unnecessary.
llvm-svn: 138115
2011-08-19 22:17:09 +00:00
Jim Grosbach
c1186a4afb Thumb assembly parsing and encoding for MVN.
llvm-svn: 138109
2011-08-19 22:09:23 +00:00
Jim Grosbach
8e2d4a63dc Thumb assembly parsing and encoding for MUL.
llvm-svn: 138108
2011-08-19 22:07:46 +00:00
Jakob Stoklund Olesen
391019be7a Add IntervalMap::const_iterator::atBegin().
It returns true when operator--() can be called.

llvm-svn: 138107
2011-08-19 22:04:19 +00:00
Bill Wendling
31d80032c6 The landingpad instruction isn't dead simply because it's value isn't used.
llvm-svn: 138102
2011-08-19 21:52:06 +00:00
Eric Christopher
dbd4cacba4 Remove this test. The feature and test have already been migrated to clang.
llvm-svn: 138101
2011-08-19 21:51:41 +00:00
Eric Christopher
15ebc094a8 Remove tests migrated to clang.
llvm-svn: 138100
2011-08-19 21:51:39 +00:00
Nick Lewycky
97d6254420 Eli points out that this is what report_fatal_error() is for.
llvm-svn: 138091
2011-08-19 21:45:19 +00:00
Eric Christopher
a3a78f5b56 Remove 2009-09-04-modify-crash.cpp as clang doesn't support 32-bit kext.
llvm-svn: 138087
2011-08-19 21:21:28 +00:00
Eric Christopher
fef8e7ac9d Remove migrated tests.
llvm-svn: 138086
2011-08-19 21:21:26 +00:00
Eric Christopher
624d962a50 Remove migrated test.
llvm-svn: 138085
2011-08-19 21:21:24 +00:00
Eric Christopher
e34873f1b0 Remove this test. There are other, duplicates, in the clang test suite.
llvm-svn: 138084
2011-08-19 21:21:21 +00:00
Eric Christopher
28fddb0c70 Add file.
llvm-svn: 138083
2011-08-19 21:21:20 +00:00
Eric Christopher
4378a0e35c Move 2010-03-22-empty-baseclass.cpp from a frontend+opt test to just
an opt test.

llvm-svn: 138082
2011-08-19 21:21:14 +00:00
Jim Grosbach
71ef1b39b1 Add FIXME.
llvm-svn: 138077
2011-08-19 20:48:54 +00:00
Jim Grosbach
cf35d78b16 Thumb assembly parsing and encoding for MOV.
llvm-svn: 138076
2011-08-19 20:46:54 +00:00
Jim Grosbach
4e811b51eb Allow non zero_reg explicit values for OptionalDefOperands in aliases.
llvm-svn: 138073
2011-08-19 20:33:06 +00:00
Jim Grosbach
8952a2e87e Tidy up. Tab character.
llvm-svn: 138072
2011-08-19 20:30:19 +00:00
Nick Lewycky
ed042d8794 This is not actually unreachable, so don't use llvm_unreachable for it. Since
the intent seems to be to terminate even in Release builds, just use abort()
directly.

If program flow ever reaches a __builtin_unreachable (which llvm_unreachable is
#define'd to on newer GCCs) then the program is undefined.

llvm-svn: 138068
2011-08-19 20:14:27 +00:00
Jim Grosbach
d990119d89 Tidy up. Formatting.
llvm-svn: 138067
2011-08-19 19:53:51 +00:00
Jim Grosbach
8e03b52754 Tab characters.
llvm-svn: 138066
2011-08-19 19:41:46 +00:00
Jim Grosbach
a32aa55506 Thumb assembly parsing and encoding for LSR.
llvm-svn: 138065
2011-08-19 19:34:22 +00:00
Jim Grosbach
ea8b606660 Thumb assembly parsing and encoding for LSL(register).
llvm-svn: 138064
2011-08-19 19:30:58 +00:00
Jim Grosbach
7d707b4fb1 Thumb assembly parsing and encoding for LSL(immediate).
llvm-svn: 138063
2011-08-19 19:29:25 +00:00
Jim Grosbach
9174714826 Thumb assembly parsing and encoding for LDRSB and LDRSH.
llvm-svn: 138061
2011-08-19 19:17:58 +00:00
Jim Grosbach
27001ee5fd Thumb assembly parsing and encoding for LDRH.
llvm-svn: 138060
2011-08-19 18:55:51 +00:00
Jim Grosbach
36fb75a109 Thumb assembly parsing and encoding for LDRB.
llvm-svn: 138059
2011-08-19 18:49:59 +00:00
Jim Grosbach
5a05787b9a Thumb assembly parsing and encoding for LDR(register).
llvm-svn: 138056
2011-08-19 18:35:06 +00:00
Sean Callanan
e6d9e9ed24 Fixed a memory bug in the MCDisassembler where
MCParsedAsmOperand objects were being leaked.

llvm-svn: 138053
2011-08-19 18:23:06 +00:00
Jim Grosbach
6d9a3e68bb Thumb assembly parsing and encoding for LDR(literal).
llvm-svn: 138052
2011-08-19 18:20:48 +00:00