oota-llvm.git
12 years agoIntroduce a pass to insert vzeroupper instructions to avoid AVX to
Bruno Cardoso Lopes [Tue, 23 Aug 2011 01:14:17 +0000 (01:14 +0000)]
Introduce a pass to insert vzeroupper instructions to avoid AVX to
SSE transition penalty. The pass is enabled through the "x86-use-vzeroupper"
llc command line option. This is only the first step (very naive and
conservative one) to sketch out the idea, but proper DFA is coming next
to allow smarter decisions. Comments and ideas now and in further commits
will be very appreciated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138317 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb parsing and encoding for SETEND.
Jim Grosbach [Mon, 22 Aug 2011 23:58:02 +0000 (23:58 +0000)]
Thumb parsing and encoding for SETEND.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138312 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb parsing and encoding for SBC.
Jim Grosbach [Mon, 22 Aug 2011 23:55:58 +0000 (23:55 +0000)]
Thumb parsing and encoding for SBC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138311 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb parsing and encoding for RSB.
Jim Grosbach [Mon, 22 Aug 2011 23:47:13 +0000 (23:47 +0000)]
Thumb parsing and encoding for RSB.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138308 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoReject invalid imod values in t2CPS instructions.
Owen Anderson [Mon, 22 Aug 2011 23:44:04 +0000 (23:44 +0000)]
Reject invalid imod values in t2CPS instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138306 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd an MCInstrAnalysis version of isCall.
Benjamin Kramer [Mon, 22 Aug 2011 23:41:41 +0000 (23:41 +0000)]
Add an MCInstrAnalysis version of isCall.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138305 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb parsing and encoding for ROR.
Jim Grosbach [Mon, 22 Aug 2011 23:40:51 +0000 (23:40 +0000)]
Thumb parsing and encoding for ROR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138304 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb parsing and encoding for REV/REV16/REVSH.
Jim Grosbach [Mon, 22 Aug 2011 23:39:25 +0000 (23:39 +0000)]
Thumb parsing and encoding for REV/REV16/REVSH.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138303 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoSplit the landing pad's edge. Then for all uses of a landingpad instruction's
Bill Wendling [Mon, 22 Aug 2011 23:38:40 +0000 (23:38 +0000)]
Split the landing pad's edge. Then for all uses of a landingpad instruction's
value, we insert a load of the exception object and selector object from memory,
which is where it actually resides. If it's used by a PHI node, we follow that
to where it is being used. Eventually, all landingpad instructions should have
no uses. Any PHI nodes that were associated with those landingpads should be
removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138302 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agot2SMLAD is a four-register instruction, not a three-register one.
Owen Anderson [Mon, 22 Aug 2011 23:31:45 +0000 (23:31 +0000)]
t2SMLAD is a four-register instruction, not a three-register one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138301 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoCorrect operand naming of t2USAT16 to allow proper decoding.
Owen Anderson [Mon, 22 Aug 2011 23:27:47 +0000 (23:27 +0000)]
Correct operand naming of t2USAT16 to allow proper decoding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138300 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRevert r138278 now that r138289 has fixed the root issue.
Jim Grosbach [Mon, 22 Aug 2011 23:25:48 +0000 (23:25 +0000)]
Revert r138278 now that r138289 has fixed the root issue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138299 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoMatch operand naming to allow correct decoding of t2LDRSH_POST.
Owen Anderson [Mon, 22 Aug 2011 23:22:05 +0000 (23:22 +0000)]
Match operand naming to allow correct decoding of t2LDRSH_POST.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138298 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agodocs/ReleaseNotes.html: Mention that Windows 2000 will not be supported any more.
NAKAMURA Takumi [Mon, 22 Aug 2011 23:22:05 +0000 (23:22 +0000)]
docs/ReleaseNotes.html: Mention that Windows 2000 will not be supported any more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138297 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoImprove error checking for tPUSH and tPOP register lists.
Jim Grosbach [Mon, 22 Aug 2011 23:17:34 +0000 (23:17 +0000)]
Improve error checking for tPUSH and tPOP register lists.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138295 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoMatch operand names to provide correct decoding for Thumb2 SMULL.
Owen Anderson [Mon, 22 Aug 2011 23:16:48 +0000 (23:16 +0000)]
Match operand names to provide correct decoding for Thumb2 SMULL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138294 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoTidy up. Trailing whitespace.
Jim Grosbach [Mon, 22 Aug 2011 23:13:54 +0000 (23:13 +0000)]
Tidy up. Trailing whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138293 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoProvide a correct decoder hook for Thumb2 shifted registers. Found by randomized...
Owen Anderson [Mon, 22 Aug 2011 23:10:16 +0000 (23:10 +0000)]
Provide a correct decoder hook for Thumb2 shifted registers.  Found by randomized testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138292 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd NativeClient support to Triple::ParseOS.
Ivan Krasin [Mon, 22 Aug 2011 23:08:53 +0000 (23:08 +0000)]
Add NativeClient support to Triple::ParseOS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138291 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb parsing and encoding for PUSH.
Jim Grosbach [Mon, 22 Aug 2011 23:05:11 +0000 (23:05 +0000)]
Thumb parsing and encoding for PUSH.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138290 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFollow up to Jim's r138278. This fixes commuteInstruction so it handles two-address...
Evan Cheng [Mon, 22 Aug 2011 23:04:56 +0000 (23:04 +0000)]
Follow up to Jim's r138278. This fixes commuteInstruction so it handles two-address instructions correctly. I'll let Jim add a test case. :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138289 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFix think-o.
Jim Grosbach [Mon, 22 Aug 2011 23:04:26 +0000 (23:04 +0000)]
Fix think-o.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138288 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb assemmbly parsing diagnostic improvements for LDM.
Jim Grosbach [Mon, 22 Aug 2011 23:01:07 +0000 (23:01 +0000)]
Thumb assemmbly parsing diagnostic improvements for LDM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138287 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb assembly parsing and encoding for POP.
Jim Grosbach [Mon, 22 Aug 2011 23:00:19 +0000 (23:00 +0000)]
Thumb assembly parsing and encoding for POP.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138286 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoX86: Add some operand types required to identify calls.
Benjamin Kramer [Mon, 22 Aug 2011 22:55:32 +0000 (22:55 +0000)]
X86: Add some operand types required to identify calls.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138285 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoTemporarilly mark tMUL as not commutable.
Jim Grosbach [Mon, 22 Aug 2011 22:00:18 +0000 (22:00 +0000)]
Temporarilly mark tMUL as not commutable.

It's not playing nicely in the coalescer with the tied operand. Disable
commutability for now while we figure out the deeper fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138278 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoSome minor wording updates and cross-linking for atomic docs. Explicitly note that...
Eli Friedman [Mon, 22 Aug 2011 21:35:27 +0000 (21:35 +0000)]
Some minor wording updates and cross-linking for atomic docs.  Explicitly note that we don't try to portably define what volatile in LLVM IR means.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138274 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoProvide operand encoding information for half-precision VCVT instructions. Found...
Owen Anderson [Mon, 22 Aug 2011 21:34:00 +0000 (21:34 +0000)]
Provide operand encoding information for half-precision VCVT instructions.  Found by randomized testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138273 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd support for breaking 256-bit int VETCC into two 128-bit ones,
Bruno Cardoso Lopes [Mon, 22 Aug 2011 20:31:04 +0000 (20:31 +0000)]
Add support for breaking 256-bit int VETCC into two 128-bit ones,
avoding scalarization of the compare. Reduces code from 59 to 6
instructions. Fix PR10712.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138271 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd 128-bit AVX codegen for PCMP* family of integer instructions
Bruno Cardoso Lopes [Mon, 22 Aug 2011 20:31:00 +0000 (20:31 +0000)]
Add 128-bit AVX codegen for PCMP* family of integer instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138270 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFix decoding of VMOVSRR and VMOVRRS, which account for the overwhelming majority...
Owen Anderson [Mon, 22 Aug 2011 20:27:12 +0000 (20:27 +0000)]
Fix decoding of VMOVSRR and VMOVRRS, which account for the overwhelming majority of decoder crashes detected by randomized testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138269 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoMake DynamicLibrary thread-safe w/r/t call to dlerror() after dlopen(). PR10718
Jordy Rose [Mon, 22 Aug 2011 19:01:52 +0000 (19:01 +0000)]
Make DynamicLibrary thread-safe w/r/t call to dlerror() after dlopen(). PR10718

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138260 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoTighten up ARM reglist validation a bit.
Jim Grosbach [Mon, 22 Aug 2011 18:50:36 +0000 (18:50 +0000)]
Tighten up ARM reglist validation a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138258 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoSome whitespace fixes and #include reordering.
Bill Wendling [Mon, 22 Aug 2011 18:44:49 +0000 (18:44 +0000)]
Some whitespace fixes and #include reordering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138256 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFix another batch of VLD/VST decoding crashes discovered by randomized testing.
Owen Anderson [Mon, 22 Aug 2011 18:42:13 +0000 (18:42 +0000)]
Fix another batch of VLD/VST decoding crashes discovered by randomized testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138255 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoBe less redundant.
Nick Lewycky [Mon, 22 Aug 2011 18:26:12 +0000 (18:26 +0000)]
Be less redundant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138252 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoCorrect writeback handling of duplicating VLD instructions. Discovered by randomized...
Owen Anderson [Mon, 22 Aug 2011 18:22:06 +0000 (18:22 +0000)]
Correct writeback handling of duplicating VLD instructions.  Discovered by randomized testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138251 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoPort another swathe of Thumb1 encoding tests over to decoding tests.
Owen Anderson [Mon, 22 Aug 2011 18:05:49 +0000 (18:05 +0000)]
Port another swathe of Thumb1 encoding tests over to decoding tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138250 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoClean up predicates on ARM target instruction aliases.
Jim Grosbach [Mon, 22 Aug 2011 18:04:24 +0000 (18:04 +0000)]
Clean up predicates on ARM target instruction aliases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138249 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFix an incorrect shift when decoding SP-relative stores in Thumb1-mode. Add more...
Owen Anderson [Mon, 22 Aug 2011 17:56:58 +0000 (17:56 +0000)]
Fix an incorrect shift when decoding SP-relative stores in Thumb1-mode.  Add more tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138246 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb assembly parsing and encoding for ORR.
Jim Grosbach [Mon, 22 Aug 2011 17:41:44 +0000 (17:41 +0000)]
Thumb assembly parsing and encoding for ORR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138245 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd a comment.
Dan Gohman [Mon, 22 Aug 2011 17:29:37 +0000 (17:29 +0000)]
Add a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138243 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoConstant pointers to objects don't need reference counting.
Dan Gohman [Mon, 22 Aug 2011 17:29:11 +0000 (17:29 +0000)]
Constant pointers to objects don't need reference counting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138242 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoMake a few tests slightly more strict.
Dan Gohman [Mon, 22 Aug 2011 17:27:02 +0000 (17:27 +0000)]
Make a few tests slightly more strict.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138241 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoTestcase for PR10663.
Duncan Sands [Mon, 22 Aug 2011 10:32:09 +0000 (10:32 +0000)]
Testcase for PR10663.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138231 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove DEFINE_TRANSPARENT_CASTED_OPERAND_ACCESSORS, folding its
Jay Foad [Mon, 22 Aug 2011 09:37:03 +0000 (09:37 +0000)]
Remove DEFINE_TRANSPARENT_CASTED_OPERAND_ACCESSORS, folding its
functionality into DEFINE_TRANSPARENT_OPERAND_ACCESSORS. A side-effect
of this is that the operand accessors for Constants will tolerate NULL
operands, fixing PR10663.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138230 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoPathV2: Handle more reserved filenames on windows.
Benjamin Kramer [Sat, 20 Aug 2011 21:36:38 +0000 (21:36 +0000)]
PathV2: Handle more reserved filenames on windows.

Patch by Aaron Ballman!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138213 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFix AsmParser binary precedence for shift operators.
Jim Grosbach [Sat, 20 Aug 2011 16:24:13 +0000 (16:24 +0000)]
Fix AsmParser binary precedence for shift operators.

rdar://9976729

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138208 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoTidy up. Whitespace.
Jim Grosbach [Sat, 20 Aug 2011 16:10:09 +0000 (16:10 +0000)]
Tidy up. Whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138207 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd constant folding support for bitcasts of splat vectors to integers.
Nadav Rotem [Sat, 20 Aug 2011 14:02:29 +0000 (14:02 +0000)]
Add constant folding support for bitcasts of splat vectors to integers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138206 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agolib/Support/CrashRecoveryContext.cpp: Add Win32 support to CrashRecoveryContext....
NAKAMURA Takumi [Sat, 20 Aug 2011 06:35:36 +0000 (06:35 +0000)]
lib/Support/CrashRecoveryContext.cpp: Add Win32 support to CrashRecoveryContext. Thanks to Aaron Ballman!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138199 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agolib/Support/Windows/Windows.h: Require at least Windows XP(5.1) API. We will not...
NAKAMURA Takumi [Sat, 20 Aug 2011 06:35:31 +0000 (06:35 +0000)]
lib/Support/Windows/Windows.h: Require at least Windows XP(5.1) API. We will not support Windows 2000 any more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138198 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoutils/lit/lit/TestingConfig.py: Pass TEMP and TMP to tests on Win32 hosts.
NAKAMURA Takumi [Sat, 20 Aug 2011 05:44:58 +0000 (05:44 +0000)]
utils/lit/lit/TestingConfig.py: Pass TEMP and TMP to tests on Win32 hosts.

Win32 GetTempPath() tends to pick up %WINDIR% when neither TEMP nor TMP was found. %WINDIR% should not be treated writable on recent Windows OS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138192 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoutils/lit/lit/TestingConfig.py: Split out environment vars for Win32.
NAKAMURA Takumi [Sat, 20 Aug 2011 05:44:52 +0000 (05:44 +0000)]
utils/lit/lit/TestingConfig.py: Split out environment vars for Win32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138191 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoCast through intptr_t, ISO C++ requires it.
Benjamin Kramer [Sat, 20 Aug 2011 02:22:42 +0000 (02:22 +0000)]
Cast through intptr_t, ISO C++ requires it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138186 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove remainder of migrated or obsolete tests from FrontendC and remove
Eric Christopher [Sat, 20 Aug 2011 01:04:56 +0000 (01:04 +0000)]
Remove remainder of migrated or obsolete tests from FrontendC and remove
the empty directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138181 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove the VMOVQQ pseudo instruction.
Chad Rosier [Sat, 20 Aug 2011 00:52:40 +0000 (00:52 +0000)]
Remove the VMOVQQ pseudo instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138177 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove migrated or obsolete tests.
Eric Christopher [Sat, 20 Aug 2011 00:49:30 +0000 (00:49 +0000)]
Remove migrated or obsolete tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138176 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove VMOVQQQQ pseudo instruction.
Chad Rosier [Sat, 20 Aug 2011 00:40:14 +0000 (00:40 +0000)]
Remove VMOVQQQQ pseudo instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138174 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove obsolete or migrated tests.
Eric Christopher [Sat, 20 Aug 2011 00:38:20 +0000 (00:38 +0000)]
Remove obsolete or migrated tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138173 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoWith the fix in r138164: "Add <imp-def> operands to QQ and QQQQ stack loads."
Chad Rosier [Sat, 20 Aug 2011 00:34:45 +0000 (00:34 +0000)]
With the fix in r138164: "Add <imp-def> operands to QQ and QQQQ stack loads."
-verify-machineinstrs can be enabled for this test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138171 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove obsoleted test.
Eric Christopher [Sat, 20 Aug 2011 00:26:30 +0000 (00:26 +0000)]
Remove obsoleted test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138170 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove tests that were either migrated to clang or are obsolete.
Eric Christopher [Sat, 20 Aug 2011 00:25:42 +0000 (00:25 +0000)]
Remove tests that were either migrated to clang or are obsolete.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138168 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove the rest of the files in FrontendC++ and the directory itself.
Eric Christopher [Sat, 20 Aug 2011 00:17:58 +0000 (00:17 +0000)]
Remove the rest of the files in FrontendC++ and the directory itself.

All tests have been updated and migrated into clang or were obsolete.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138165 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd <imp-def> operands to QQ and QQQQ stack loads.
Jakob Stoklund Olesen [Sat, 20 Aug 2011 00:17:45 +0000 (00:17 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138164 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoVMOVQQQQs pseudo instructions are only created by ARMBaseInstrInfo::copyPhysReg.
Chad Rosier [Sat, 20 Aug 2011 00:17:25 +0000 (00:17 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138163 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove migrated or obsolete tests.
Eric Christopher [Sat, 20 Aug 2011 00:08:36 +0000 (00:08 +0000)]
Remove migrated or obsolete tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138156 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoIf we're splitting the landing pad block and assigning it only one predecessor,
Bill Wendling [Fri, 19 Aug 2011 23:46:30 +0000 (23:46 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138153 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove migrated or obsolete tests.
Eric Christopher [Fri, 19 Aug 2011 23:41:50 +0000 (23:41 +0000)]
Remove migrated or obsolete tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138149 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoDo not use named md nodes to track variables that are completely optimized. This...
Devang Patel [Fri, 19 Aug 2011 23:28:12 +0000 (23:28 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138145 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb parsing and encoding support for NOP.
Jim Grosbach [Fri, 19 Aug 2011 23:24:36 +0000 (23:24 +0000)]
Thumb parsing and encoding support for NOP.

The irony is not lost that this is not a completely trivial patchset.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138143 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove obsolete test.
Eric Christopher [Fri, 19 Aug 2011 23:18:12 +0000 (23:18 +0000)]
Remove obsolete test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138141 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove migrated test.
Eric Christopher [Fri, 19 Aug 2011 23:18:10 +0000 (23:18 +0000)]
Remove migrated test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138140 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoUse regex to remove false dependencies on register allocation.
Jim Grosbach [Fri, 19 Aug 2011 23:10:31 +0000 (23:10 +0000)]
Use regex to remove false dependencies on register allocation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138137 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove obsolete or migrated tests.
Eric Christopher [Fri, 19 Aug 2011 23:08:41 +0000 (23:08 +0000)]
Remove obsolete or migrated tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138135 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFix bug in function IsShiftedMask. Remove parameter SizeInBits, which is not
Akira Hatanaka [Fri, 19 Aug 2011 22:59:00 +0000 (22:59 +0000)]
Fix bug in function IsShiftedMask. Remove parameter SizeInBits, which is not
needed for Mips32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138132 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb assembly parsing and encoding for NEG.
Jim Grosbach [Fri, 19 Aug 2011 22:51:03 +0000 (22:51 +0000)]
Thumb assembly parsing and encoding for NEG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138131 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRoll back the rest of r126557. It's a hack that will break in some obscure cases.
Benjamin Kramer [Fri, 19 Aug 2011 22:39:31 +0000 (22:39 +0000)]
Roll back the rest of r126557. It's a hack that will break in some obscure cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138130 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoFix NEG alias
Jim Grosbach [Fri, 19 Aug 2011 22:30:58 +0000 (22:30 +0000)]
Fix NEG alias

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138125 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoBe more lenient on tied operand matching for MUL.
Jim Grosbach [Fri, 19 Aug 2011 22:30:46 +0000 (22:30 +0000)]
Be more lenient on tied operand matching for MUL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138124 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRe-write part of VEX encoding logic, to be more easy to read! Also fix
Bruno Cardoso Lopes [Fri, 19 Aug 2011 22:27:29 +0000 (22:27 +0000)]
Re-write part of VEX encoding logic, to be more easy to read! Also fix
a bug and add a testcase!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138123 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove tests migrated to clang.
Eric Christopher [Fri, 19 Aug 2011 22:26:09 +0000 (22:26 +0000)]
Remove tests migrated to clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138121 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove previously migrated test.
Eric Christopher [Fri, 19 Aug 2011 22:26:06 +0000 (22:26 +0000)]
Remove previously migrated test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138120 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoUpdate tests.
Jim Grosbach [Fri, 19 Aug 2011 22:19:48 +0000 (22:19 +0000)]
Update tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138116 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove tests migrated to clang or are unnecessary.
Eric Christopher [Fri, 19 Aug 2011 22:17:09 +0000 (22:17 +0000)]
Remove tests migrated to clang or are unnecessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138115 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb assembly parsing and encoding for MVN.
Jim Grosbach [Fri, 19 Aug 2011 22:09:23 +0000 (22:09 +0000)]
Thumb assembly parsing and encoding for MVN.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138109 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb assembly parsing and encoding for MUL.
Jim Grosbach [Fri, 19 Aug 2011 22:07:46 +0000 (22:07 +0000)]
Thumb assembly parsing and encoding for MUL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138108 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd IntervalMap::const_iterator::atBegin().
Jakob Stoklund Olesen [Fri, 19 Aug 2011 22:04:19 +0000 (22:04 +0000)]
Add IntervalMap::const_iterator::atBegin().

It returns true when operator--() can be called.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138107 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThe landingpad instruction isn't dead simply because it's value isn't used.
Bill Wendling [Fri, 19 Aug 2011 21:52:06 +0000 (21:52 +0000)]
The landingpad instruction isn't dead simply because it's value isn't used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138102 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove this test. The feature and test have already been migrated to clang.
Eric Christopher [Fri, 19 Aug 2011 21:51:41 +0000 (21:51 +0000)]
Remove this test. The feature and test have already been migrated to clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138101 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove tests migrated to clang.
Eric Christopher [Fri, 19 Aug 2011 21:51:39 +0000 (21:51 +0000)]
Remove tests migrated to clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138100 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoEli points out that this is what report_fatal_error() is for.
Nick Lewycky [Fri, 19 Aug 2011 21:45:19 +0000 (21:45 +0000)]
Eli points out that this is what report_fatal_error() is for.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138091 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove 2009-09-04-modify-crash.cpp as clang doesn't support 32-bit kext.
Eric Christopher [Fri, 19 Aug 2011 21:21:28 +0000 (21:21 +0000)]
Remove 2009-09-04-modify-crash.cpp as clang doesn't support 32-bit kext.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138087 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove migrated tests.
Eric Christopher [Fri, 19 Aug 2011 21:21:26 +0000 (21:21 +0000)]
Remove migrated tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138086 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove migrated test.
Eric Christopher [Fri, 19 Aug 2011 21:21:24 +0000 (21:21 +0000)]
Remove migrated test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138085 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoRemove this test. There are other, duplicates, in the clang test suite.
Eric Christopher [Fri, 19 Aug 2011 21:21:21 +0000 (21:21 +0000)]
Remove this test. There are other, duplicates, in the clang test suite.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138084 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd file.
Eric Christopher [Fri, 19 Aug 2011 21:21:20 +0000 (21:21 +0000)]
Add file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138083 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoMove 2010-03-22-empty-baseclass.cpp from a frontend+opt test to just
Eric Christopher [Fri, 19 Aug 2011 21:21:14 +0000 (21:21 +0000)]
Move 2010-03-22-empty-baseclass.cpp from a frontend+opt test to just
an opt test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138082 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoAdd FIXME.
Jim Grosbach [Fri, 19 Aug 2011 20:48:54 +0000 (20:48 +0000)]
Add FIXME.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138077 91177308-0d34-0410-b5e6-96231b3b80d8

12 years agoThumb assembly parsing and encoding for MOV.
Jim Grosbach [Fri, 19 Aug 2011 20:46:54 +0000 (20:46 +0000)]
Thumb assembly parsing and encoding for MOV.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138076 91177308-0d34-0410-b5e6-96231b3b80d8