Benjamin Kramer
a41ae12bd5
Include cstdio in a few place that depended on getting it transitively through StringExtras.h
...
llvm-svn: 153328
2012-03-23 11:35:30 +00:00
Benjamin Kramer
01e4003c0f
Move ftostr into its last user (cppbackend) and simplify it a bit.
...
New code should use raw_ostream.
llvm-svn: 153326
2012-03-23 11:26:29 +00:00
Anton Korobeynikov
9b75081b7f
Add soname to LLVM shared library on Linux. Probably the same stuff is necessary for *BSD.
...
Patch from Mageia!
llvm-svn: 153324
2012-03-23 10:00:42 +00:00
Duncan Sands
fcc4791c7b
When propagating equalities, eg replacing A with B in every basic block
...
dominated by Root, check that B is available throughout the scope. This
is obviously true (famous last words?) given the current logic, but the
check may be helpful if more complicated reasoning is added one day.
llvm-svn: 153323
2012-03-23 08:45:52 +00:00
Duncan Sands
1ac68ded1a
Indentation.
...
llvm-svn: 153322
2012-03-23 08:29:04 +00:00
Bill Wendling
1d514781a9
Ignore the last message.
...
llvm-svn: 153315
2012-03-23 07:22:49 +00:00
Bill Wendling
8ccd2dbb01
Revert patch. It broke the build.
...
llvm-svn: 153314
2012-03-23 07:21:18 +00:00
Bill Wendling
7a619e6790
Dematerialize the source functions after we're done with them. This saves a bit
...
of memory during LTO.
llvm-svn: 153313
2012-03-23 07:18:22 +00:00
Eric Christopher
3839c1ffd3
Remove the C backend.
...
llvm-svn: 153307
2012-03-23 05:50:46 +00:00
Eric Christopher
224bb6fa26
Fix up cmake build.
...
llvm-svn: 153306
2012-03-23 03:55:14 +00:00
Eric Christopher
11cd3dd9fc
Take out the debug info probe stuff. It's making some changes to
...
the PassManager annoying and should be reimplemented as a decorator
on top of existing passes (as should the timing data).
llvm-svn: 153305
2012-03-23 03:54:05 +00:00
Nick Lewycky
de9ce7ba17
Explicitly close optionally closed <li> tags.
...
llvm-svn: 153296
2012-03-23 00:56:26 +00:00
Andrew Trick
690dfe6b2a
Remove -enable-lsr-retry in time for 3.1.
...
llvm-svn: 153287
2012-03-22 22:42:51 +00:00
Andrew Trick
121e3e153c
Remove -enable-lsr-nested in time for 3.1.
...
Tests cases have been removed but attached to open PR12330.
llvm-svn: 153286
2012-03-22 22:42:45 +00:00
Bill Wendling
0e6f845b5b
Some whitespace and comment cleanup.
...
llvm-svn: 153278
2012-03-22 20:47:54 +00:00
Bill Wendling
738fb640f0
Remove unneeded #ifdefs.
...
llvm-svn: 153277
2012-03-22 20:30:41 +00:00
Bill Wendling
30ea9ee328
Add a 'dump' method to the type map. Doxygenify some of the comments and add a
...
few comments where none existed before. Also change a function's name to match
the current coding standard.
No functionality change.
llvm-svn: 153276
2012-03-22 20:28:27 +00:00
Evan Cheng
3b175e6bbb
Source order scheduler should not preschedule nodes with multiple uses. rdar://11096639
...
llvm-svn: 153270
2012-03-22 19:31:17 +00:00
Evan Cheng
50b6f1a793
Assign node orders to target intrinsics which do not produce results. rdar://11096639
...
llvm-svn: 153269
2012-03-22 19:29:09 +00:00
Dan Gohman
df222b2e87
Refactor the code for visiting instructions out into helper functions.
...
llvm-svn: 153267
2012-03-22 18:24:56 +00:00
Andrew Trick
b54c894a31
Cleanup IVUsers::addUsersIfInteresting.
...
Keep the public interface clean, even though LLVM proper does not
currently use it.
llvm-svn: 153263
2012-03-22 17:47:33 +00:00
Andrew Trick
74bcc63b1b
Remove unused simplifyIVUsers
...
llvm-svn: 153262
2012-03-22 17:47:30 +00:00
Andrew Trick
30b133e1ae
Remove -enable-iv-rewrite, which has been unsupported since 3.0.
...
llvm-svn: 153260
2012-03-22 17:10:11 +00:00
Andrew Trick
bc649f32f0
Convert -indvars tests that rely on SCEV expansion to -loop-reduce tests.
...
llvm-svn: 153259
2012-03-22 17:10:07 +00:00
Andrew Trick
c9948561ef
Remove tests: indvars trivially preserves GEPs now.
...
llvm-svn: 153258
2012-03-22 17:09:46 +00:00
Andrew Trick
f1a4ea97fc
Remove test: trivial canonical IV test which is covered by other SCEV tests.
...
llvm-svn: 153257
2012-03-22 17:09:34 +00:00
Andrew Trick
e0b7008fb8
Test scalar evolution directly instead of testing the result of
...
canonical indvars.
llvm-svn: 153256
2012-03-22 17:09:31 +00:00
Andrew Trick
30b64bcc90
Remove redundant -enable-iv-rewrite=false flags from test cases.
...
llvm-svn: 153255
2012-03-22 17:09:04 +00:00
Silviu Baranga
d197baa066
Added soft fail checks for the disassembler when decoding some corner cases of the STRD, STRH, LDRD, LDRH, LDRSH and LDRSB instructions on ARM.
...
llvm-svn: 153252
2012-03-22 14:14:49 +00:00
Silviu Baranga
7bdfb9e34d
Added soft fail cases for the disassembler when decoding LDRSBT, LDRHT or LDRSHT instruction on ARM
...
llvm-svn: 153251
2012-03-22 13:24:43 +00:00
Silviu Baranga
c03971d4b1
Added soft fail cases for the disassembler when decoding MUL instructions on ARM.
...
llvm-svn: 153250
2012-03-22 13:14:39 +00:00
Anders Waldenborg
25b56d6bad
[python] Add negative MemoryBuffer testcase
...
llvm-svn: 153248
2012-03-22 11:23:52 +00:00
Craig Topper
a2a674effc
Remove some unnecessary forward declarations.
...
llvm-svn: 153245
2012-03-22 06:52:14 +00:00
Chandler Carruth
8243f2a6d4
Revert a series of commits to MCJIT to get the build working in CMake
...
(and hopefully on Windows). The bots have been down most of the day
because of this, and it's not clear to me what all will be required to
fix it.
The commits started with r153205, then r153207, r153208, and r153221.
The first commit seems to be the real culprit, but I couldn't revert
a smaller number of patches.
When resubmitting, r153207 and r153208 should be folded into r153205,
they were simple build fixes.
llvm-svn: 153241
2012-03-22 05:44:06 +00:00
Hal Finkel
84b247a2ef
PPC::DBG_VALUE must use Reg+Imm frame-index elimination even for large offsets. Fixes PR12203.
...
I don't have a small test case yet, but I'll try to construct one.
llvm-svn: 153240
2012-03-22 05:28:19 +00:00
Chris Lattner
88c929ec53
add load/store volatility control to the C API, patch by Yiannis Tsiouris!
...
llvm-svn: 153238
2012-03-22 03:54:15 +00:00
Chris Lattner
9bb176f16d
don't use "signed", just something I noticed in patches flying by.
...
llvm-svn: 153237
2012-03-22 03:46:58 +00:00
Eric Christopher
0cbb33ea72
In erroneous inline assembly we could mistakenly try to access the
...
metadata operand as an actual operand, leading to an assert. Error
out in this case.
rdar://11007633
llvm-svn: 153234
2012-03-22 01:33:51 +00:00
Chad Rosier
ce3a78be60
[fast-isel] Fold "urem x, pow2" -> "and x, pow2-1". This should fix the 271%
...
execution-time regression for nsieve-bits on the ARMv7 -O0 -g nightly tester.
This may also improve compile-time on architectures that would otherwise
generate a libcall for urem (e.g., ARM) or fall back to the DAG selector.
rdar://10810716
llvm-svn: 153230
2012-03-22 00:21:17 +00:00
Michael J. Spencer
eeeb93f428
[PathV2]: Fix bug in create_directories which caused infinite recursion on
...
som inputs.
Bug found and fix proposed by Kal Conley!
llvm-svn: 153225
2012-03-21 23:09:14 +00:00
Nick Lewycky
3040cab7d6
Add a release note for r145714.
...
llvm-svn: 153224
2012-03-21 22:58:28 +00:00
Andrew Trick
f298457c8c
misched: tag a few XFAILs that I plan to fix
...
llvm-svn: 153222
2012-03-21 22:31:31 +00:00
Danil Malyshev
88676c0b84
Re-factored RuntimeDyld.
...
Added ExecutionEngine/MCJIT tests.
llvm-svn: 153221
2012-03-21 21:06:29 +00:00
Kevin Enderby
e64335b34a
Fix ARM disassembly of VST1 and VST2 instructions with writeback. And add test
...
case for all opcodes handed by DecodeVSTInstruction() in ARMDisassembler.cpp .
llvm-svn: 153218
2012-03-21 20:54:32 +00:00
Jan Sjödin
d0ec185e96
Fix windows compilation warning. Patch by Micah.
...
llvm-svn: 153215
2012-03-21 20:00:30 +00:00
Nico Weber
3f84548106
Add a ${pathsep} variable to lit that expands to : (or ; on win32).
...
This is in braces so that it doesn't conflict with the existing %p.
It uses braces instead of parens because parens would have to be
regex-escaped.
llvm-svn: 153213
2012-03-21 19:56:42 +00:00
Danil Malyshev
ed57f105a2
(no commit message)
...
llvm-svn: 153208
2012-03-21 19:13:08 +00:00
Danil Malyshev
ec68ca1227
Missed getPointerToNamedFunction() declaration.
...
llvm-svn: 153207
2012-03-21 18:47:10 +00:00
Danil Malyshev
f6bfe93d8f
Based on this discussion: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120305/138477.html
...
1. Declare a virtual function getPointerToNamedFunction() in JITMemoryManager
2. Move the implementation of getPointerToNamedFunction() form JIT/MCJIT to DefaultJITMemoryManager.
llvm-svn: 153205
2012-03-21 18:26:47 +00:00
Jim Grosbach
de0e7fdcde
Checking a build_vector for an all-ones value.
...
Type legalization can zero-extend the elements of the build_vector node, so,
for example, we may have an <8 x i8> with i32 elements of value 255. That
should return 'true' for the vector being all ones.
llvm-svn: 153203
2012-03-21 17:48:04 +00:00