| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a testcase to verify that commands don't crash when they hit | Dan Gohman | 2010-08-18 | 1 | -0/+9 |
| | | | | | | | errors on stderr. llvm-svn: 111440 | ||||
| * | Make raw_fd_ostream consider itself the owner of STDOUT_FILENO when | Dan Gohman | 2010-08-18 | 2 | -4/+10 |
| | | | | | | | | | | constructed with an output filename of "-". In particular, allow the file descriptor to be closed, and close the file descriptor in the destructor if it hasn't been explicitly closed already, to ensure that any write errors are detected. llvm-svn: 111436 | ||||
| * | When sending stats output to stdout for grepping, don't emit normal | Dan Gohman | 2010-08-18 | 1 | -1/+1 |
| | | | | | | | output to standard output also. llvm-svn: 111435 | ||||
| * | move gep decomposition out of ValueTracking into BasicAA. The form of | Chris Lattner | 2010-08-18 | 3 | -242/+229 |
| | | | | | | | | | | decomposition that it is doing is very basicaa specific and is only used by basicaa. Now with less tree breakingness. llvm-svn: 111433 | ||||
| * | Tidy. | Dan Gohman | 2010-08-18 | 1 | -5/+4 |
| | | | | | llvm-svn: 111432 | ||||
| * | Minor simplification. Gets rid of a needless temporary. | Bill Wendling | 2010-08-18 | 1 | -4/+3 |
| | | | | | llvm-svn: 111430 | ||||
| * | Use ConstantRange to propagate information through value definitions. | Owen Anderson | 2010-08-18 | 1 | -4/+83 |
| | | | | | llvm-svn: 111425 | ||||
| * | When sending stats output to stdout for grepping, don't emit normal | Dan Gohman | 2010-08-18 | 8 | -9/+9 |
| | | | | | | | output to standard output also. llvm-svn: 111401 | ||||
| * | Thinking about it, we don't need MachineDominatorTree after all. The DomValue | Jakob Stoklund Olesen | 2010-08-18 | 2 | -19/+26 |
| | | | | | | | map discovers the iterated dominance frontier for free. llvm-svn: 111400 | ||||
| * | Introduce a ScopedFatalErrorHandler class to make it easy to register | Dan Gohman | 2010-08-18 | 1 | -0/+12 |
| | | | | | | | | fatal error handlers which automatically get unregistered at the end of a scope. llvm-svn: 111398 | ||||
| * | Revert r111394. It was too aggressive. | Jakob Stoklund Olesen | 2010-08-18 | 2 | -12/+3 |
| | | | | | | | | | | | We must complete the DFS, otherwise we might miss needed phi-defs, and prematurely color live ranges with a non-dominating value. This is not a big deal since we get to color more of the CFG and the next mapValue call will be faster. llvm-svn: 111397 | ||||
| * | Aggressively prune the DFS when inserting phi-defs. | Jakob Stoklund Olesen | 2010-08-18 | 2 | -3/+12 |
| | | | | | llvm-svn: 111394 | ||||
| * | Add the LiveIntervalMap class. Don't hook it up yet. | Jakob Stoklund Olesen | 2010-08-18 | 2 | -1/+279 |
| | | | | | | | | | | | | | | | | | LiveIntervalMap maps values from a parent LiveInterval to a child interval that is a strict subset. It will create phi-def values as needed to preserve the VNInfo SSA form in the child interval. This leads to an algorithm very similar to the one in SSAUpdaterImpl.h, but with enough differences that the code can't be reused: - We don't need to manipulate PHI instructions. - LiveIntervals have kills. - We have MachineDominatorTree. - We can use df_iterator. llvm-svn: 111393 | ||||
| * | Add df_iterator::getPathLength and getPath as a way of getting a path from the | Jakob Stoklund Olesen | 2010-08-18 | 1 | -0/+10 |
| | | | | | | | entry node to the current node. llvm-svn: 111392 | ||||
| * | Revert r111375, "move gep decomposition out of ValueTracking into BasicAA. The | Daniel Dunbar | 2010-08-18 | 3 | -213/+241 |
| | | | | | | | form of", it doesn't pass tests. llvm-svn: 111385 | ||||
| * | Improve whitespace. | Bill Wendling | 2010-08-18 | 1 | -1/+2 |
| | | | | | llvm-svn: 111384 | ||||
| * | Marked with ATTRIBUTE_USED so that clang doesn't complain. | Bill Wendling | 2010-08-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 111383 | ||||
| * | Inform LazyValueInfo whenever a block is deleted, to avoid dangling pointer ↵ | Owen Anderson | 2010-08-18 | 3 | -21/+56 |
| | | | | | | | issues. llvm-svn: 111382 | ||||
| * | MC/ELF: Allow null values in virtual sections, ELF doesn't use special | Daniel Dunbar | 2010-08-18 | 3 | -1/+29 |
| | | | | | | | directives for putting contents in .bss, for example. llvm-svn: 111376 | ||||
| * | move gep decomposition out of ValueTracking into BasicAA. The form of | Chris Lattner | 2010-08-18 | 3 | -241/+213 |
| | | | | | | | | decomposition that it is doing is very basicaa specific and is only used by basicaa. llvm-svn: 111375 | ||||
| * | Add hook for re-using virtual base registers for local stack slot access. | Jim Grosbach | 2010-08-18 | 4 | -12/+56 |
| | | | | | | | | | | | Nothing fancy, just ask the target if any currently available base reg is in range for the instruction under consideration and use the first one that is. Placeholder ARM implementation simply returns false for now. ongoing saga of rdar://8277890 llvm-svn: 111374 | ||||
| * | Eliminate some redundancy by relying on raw_fd_ostream to handle "-" | Dan Gohman | 2010-08-18 | 1 | -43/+34 |
| | | | | | | | properly. llvm-svn: 111373 | ||||
| * | Allow the -analyze option to follow the -o option, which defaults to | Dan Gohman | 2010-08-18 | 1 | -30/+35 |
| | | | | | | | standard output, instead of just hardcoding outs(). llvm-svn: 111372 | ||||
| * | Don't translate "-" to outs() manually; raw_ostream does that automatically. | Dan Gohman | 2010-08-18 | 1 | -31/+23 |
| | | | | | llvm-svn: 111371 | ||||
| * | Don't translate "-" to outs() manually; raw_ostream does that | Dan Gohman | 2010-08-18 | 1 | -6/+3 |
| | | | | | | | automatically. llvm-svn: 111370 | ||||
| * | Don't register stdout to be deleted on a signal. | Dan Gohman | 2010-08-18 | 1 | -1/+2 |
| | | | | | llvm-svn: 111368 | ||||
| * | Remove an unused command-line option. | Dan Gohman | 2010-08-18 | 1 | -3/+0 |
| | | | | | llvm-svn: 111367 | ||||
| * | Preserve subregs on PHI source operands. Patch by Krister Wombell! | Jakob Stoklund Olesen | 2010-08-18 | 1 | -1/+4 |
| | | | | | llvm-svn: 111366 | ||||
| * | Fix a bug with insertelement on SPU. | Kalle Raiskila | 2010-08-18 | 2 | -6/+26 |
| | | | | | | | | The previous algorithm in LowerVECTOR_SHUFFLE didn't check all requirements for "monotonic" shuffles. llvm-svn: 111361 | ||||
| * | Remove all traces of v2[i,f]32 on SPU. | Kalle Raiskila | 2010-08-18 | 8 | -120/+14 |
| | | | | | | | | | The "half vectors" are now widened to full size by the legalizer. The only exception is in parameter passing, where half vectors are expanded. This causes changes to some dejagnu tests. llvm-svn: 111360 | ||||
| * | Change SPU C calling convention to match that described in | Kalle Raiskila | 2010-08-18 | 2 | -11/+45 |
| | | | | | | | | | "SPU Application Binary Interface Specification, v1.9" by IBM. Specifically: use r3-r74 to pass parameters and the return value. llvm-svn: 111358 | ||||
| * | fix a buggy test | Chris Lattner | 2010-08-18 | 1 | -3/+3 |
| | | | | | llvm-svn: 111354 | ||||
| * | fix PR7589: In brief: | Chris Lattner | 2010-08-18 | 2 | -3/+24 |
| | | | | | | | | | | gep P, (zext x) != gep P, (sext x) DecomposeGEPExpression was getting this wrong, confusing basicaa. llvm-svn: 111352 | ||||
| * | filecheckize and detrivialize. | Chris Lattner | 2010-08-18 | 1 | -3/+26 |
| | | | | | llvm-svn: 111350 | ||||
| * | Fix PR7755: knowing something about an inval for a pred | Chris Lattner | 2010-08-18 | 2 | -8/+28 |
| | | | | | | | | | | from the LHS should disable reconsidering that pred on the RHS. However, knowing something about the pred on the RHS shouldn't disable subsequent additions on the RHS from happening. llvm-svn: 111349 | ||||
| * | fit in 80 cols | Chris Lattner | 2010-08-18 | 1 | -2/+3 |
| | | | | | llvm-svn: 111348 | ||||
| * | remove some dead code. | Chris Lattner | 2010-08-18 | 2 | -12/+0 |
| | | | | | llvm-svn: 111345 | ||||
| * | remove some dead code. | Chris Lattner | 2010-08-18 | 3 | -15/+4 |
| | | | | | llvm-svn: 111344 | ||||
| * | remove some code that is dead now that lea's are modeled with segment registers. | Chris Lattner | 2010-08-18 | 1 | -14/+0 |
| | | | | | llvm-svn: 111343 | ||||
| * | remove dead prototype. | Chris Lattner | 2010-08-18 | 1 | -2/+1 |
| | | | | | llvm-svn: 111342 | ||||
| * | Expand ZERO_EXTEND operations for NEON vector types. | Bob Wilson | 2010-08-18 | 2 | -0/+8 |
| | | | | | | | Testcase from Nick Lewycky. llvm-svn: 111341 | ||||
| * | Fix the "Finished Creating" messages for aliases to print the | Dan Gohman | 2010-08-18 | 1 | -1/+1 |
| | | | | | | | right name. llvm-svn: 111340 | ||||
| * | Revert r111321. This doesn't fix a problem. | Dan Gohman | 2010-08-18 | 1 | -23/+19 |
| | | | | | llvm-svn: 111339 | ||||
| * | stomp some more undefined behavior, PR7775. | Chris Lattner | 2010-08-18 | 1 | -6/+7 |
| | | | | | llvm-svn: 111337 | ||||
| * | don't emit zero bit fields with Emit, fixing undefined behavior, | Chris Lattner | 2010-08-18 | 1 | -3/+5 |
| | | | | | | | PR7778 llvm-svn: 111336 | ||||
| * | Don't pass in a null pointer to std::string's ctor, an empty string | Chris Lattner | 2010-08-18 | 1 | -1/+4 |
| | | | | | | | ref should produce an empty std::string. This fixes PR7879. llvm-svn: 111332 | ||||
| * | fix a broken link | Chris Lattner | 2010-08-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 111326 | ||||
| * | include config.h to get config params, hopefully unbreaking mingw builder. | Chris Lattner | 2010-08-17 | 1 | -0/+1 |
| | | | | | llvm-svn: 111325 | ||||
| * | Fix the rest of rdar://8318441 which happens when a raw_fd_ostream | Chris Lattner | 2010-08-17 | 1 | -19/+23 |
| | | | | | | | | | | | (e.g. errs()) fails in close() due to (e.g.) a broken pipe. As previously written, the had_error() flag would get set and then the raw_ostream dtor would report a fatal error. There is nothing the client can do about this and we have no way to report the error, so just eat it. llvm-svn: 111321 | ||||
| * | report_fatal_error can't use errs(), because errs() can call | Chris Lattner | 2010-08-17 | 1 | -8/+26 |
| | | | | | | | | into report_fatal_error. Just blast the string to stderr with write(2) and hope for the best! Part of rdar://8318441 llvm-svn: 111320 | ||||

