summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix ScheduleDAGRRList::CopyAndMoveSuccessors' handling of nodesDan Gohman2009-03-062-7/+42
| | | | | | | | | | | with multiple chain operands. This can occur when the scheduler has added chain operands to a node that already has a chain operand, in order to handle physical register dependencies. This fixes an llvm-gcc bootstrap failure on x86-64 introduced in r66058. llvm-svn: 66240
* Use CloneModule's ValueMap to avoid needing to look upDan Gohman2009-03-061-5/+4
| | | | | | functions by name. This fixes PR718. llvm-svn: 66239
* Incorporate feedback to improve GarbageCollection.html.Gordon Henriksen2009-03-061-57/+103
| | | | llvm-svn: 66237
* Don't assign rank numbers to debug intrinsic "calls".Dale Johannesen2009-03-061-1/+3
| | | | | | This is needed so debug info doesn't change codegen. llvm-svn: 66235
* When we split a basic block, there's a default branch to the newly created BB.Bill Wendling2009-03-061-0/+3
| | | | | | Delete this default branch, because we're going to generate our own. llvm-svn: 66234
* Revert 66224.Devang Patel2009-03-062-9/+9
| | | | llvm-svn: 66233
* Revert rev. 66167. Devang Patel2009-03-062-31/+10
| | | | | | We are still not out of woods yet. llvm-svn: 66232
* CMake: auto-discover project files under the projects/ subdirectory.Oscar Fuentes2009-03-062-0/+10
| | | | | | Patch by Viktar Zviarovich! llvm-svn: 66230
* do not close friendship with every odd classGabor Greif2009-03-062-2/+0
| | | | llvm-svn: 66229
* SRThreshold is meant to be inclusive.Evan Cheng2009-03-061-1/+1
| | | | llvm-svn: 66227
* Tweak the check for promotable alloca's to handleDale Johannesen2009-03-061-1/+7
| | | | | | debug intrinsics correctly. llvm-svn: 66225
* Do not let debug info prevert globalopt from shriking a global vars to boolean.Devang Patel2009-03-062-7/+74
| | | | llvm-svn: 66224
* Add "check/remove dbg var" helper routines.Devang Patel2009-03-062-0/+53
| | | | llvm-svn: 66223
* Fix a parallel make race condition by swapping the order of -I directories.Bob Wilson2009-03-061-2/+2
| | | | | | | | | | | The .cmi files are generated in $(ObjDir) and then copied to $(OcamlDir). The ocamldep output references the .cmi files in $(ObjDir), so make kicks off a dependent compile as soon as the local copy is generated. If the copy to $(OcamlDir) is not complete at that point, the compiler will read the partially copied file and complain about a "Corrupted compiled interface". Searching $(ObjDir) first avoids this. llvm-svn: 66217
* Fix a bugpoint bug on anonymous functions. Instead of looking upDan Gohman2009-03-051-2/+4
| | | | | | | functions in the new module by name, use the ValueMap provided by CloneModule to do the lookups. llvm-svn: 66216
* Don't use plain INC32 and DEC32 on x86-64; it needsDan Gohman2009-03-052-8/+30
| | | | | | | | INC64_32r and INC64_16r, because these instructions are encoded differently on x86-64. This fixes JIT regressions on x86-64 in kimwitu++ and others. llvm-svn: 66207
* When creating X86ISD::INC and X86ISD::DEC nodes, only add one operand.Dan Gohman2009-03-051-1/+6
| | | | | | | The extra operand didn't appear to cause any trouble, but it was erroneous regardless. llvm-svn: 66206
* Fix the "test" optimization to recognize "dec" as an add ofDan Gohman2009-03-053-9/+31
| | | | | | | negative one, as subtracts of immediates are canonicalized to adds. llvm-svn: 66180
* Make this test more thorough. Not only should there be no %esi,Dan Gohman2009-03-051-3/+5
| | | | | | there should be no spilling of anything. llvm-svn: 66179
* move some code to gracefully handle the case when a handler crashes.Chris Lattner2009-03-051-4/+6
| | | | llvm-svn: 66171
* GlobalOpt only process non constant local GVs while optimizing global vars.Devang Patel2009-03-052-10/+31
| | | | | | | | | | | | If non constant local GV named A is used by a constant local GV named B (e.g. llvm.dbg.variable) and B is not used by anyone else then eliminate A as well as B. In other words, debug info should not interfere in removal of unused GV. --This life, and those below, will be ignored-- M test/Transforms/GlobalOpt/2009-03-03-dbg.ll M lib/Transforms/IPO/GlobalOpt.cpp llvm-svn: 66167
* Add missing file.Duncan Sands2009-03-051-0/+1
| | | | llvm-svn: 66160
* (Hopefully) silence a warning.Owen Anderson2009-03-051-1/+1
| | | | llvm-svn: 66158
* Regenerate.Nick Lewycky2009-03-052-29/+134
| | | | llvm-svn: 66157
* Autodetect the availability of -export-dynamic in the linker.Nick Lewycky2009-03-054-25/+62
| | | | llvm-svn: 66156
* Be more careful about choosing restore points when doing restore folding. ↵Owen Anderson2009-03-051-5/+28
| | | | | | This fixes some subtle miscompilations. llvm-svn: 66147
* Daniel wanted the stack printed upside down. Perhaps heChris Lattner2009-03-051-6/+14
| | | | | | | | | | | | | feels a kinship to machine stacks that grow down. Now we get stuff like this: Stack dump: 0. Program arguments: clang clang_crash_Iw2Osj.mi 1. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: parsing function body '_mm_cvtpi16_ps' 2. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: in compound statement ('{}') Abort llvm-svn: 66145
* indicate what the program args line is.Chris Lattner2009-03-051-1/+3
| | | | llvm-svn: 66144
* switch this message back to only being in -debug mode.Chris Lattner2009-03-051-1/+1
| | | | llvm-svn: 66143
* When allocating stubs, keep track of which Functions are referencing the stub.Nate Begeman2009-03-051-17/+120
| | | | | | | | This invalidates the stubs in the resolver map when they are no longer referenced, and should the JIT memory manager ever pick up a deallocateStub interface, the JIT could reclaim the memory for unused stubs as well. llvm-svn: 66141
* Do not split edges to EH landing pads. It will cause code size explosion.Evan Cheng2009-03-052-0/+40
| | | | llvm-svn: 66140
* Fix how livein live intervals are handled. Previously it could end at MBB ↵Evan Cheng2009-03-051-4/+9
| | | | | | start. Sorry, no small test case possible. llvm-svn: 66129
* Fix another case where debug info was affectingDale Johannesen2009-03-051-4/+17
| | | | | | | codegen. I convinced myself it was OK to skip all pointer bitcasts here too. llvm-svn: 66122
* Ignore the debug info intrinsics when looking for dependency through basic ↵Zhou Sheng2009-03-052-0/+130
| | | | | | block. llvm-svn: 66119
* Add comment to emphasize that the while body is empty.Bill Wendling2009-03-051-2/+2
| | | | llvm-svn: 66115
* Fix another case where a dbg.declare meant somethingDale Johannesen2009-03-051-6/+13
| | | | | | had 2 uses instead of 1. llvm-svn: 66112
* Should have XFAILed this test.Bill Wendling2009-03-041-0/+54
| | | | llvm-svn: 66086
* Temporarily revert r65994. It was causing rdar://6646455.Bill Wendling2009-03-042-72/+6
| | | | llvm-svn: 66083
* ooops, forgot to include the pointless-write eliminator in my previous checkinGabor Greif2009-03-046-0/+7
| | | | llvm-svn: 66081
* Add some cautionary comments.Dale Johannesen2009-03-041-1/+3
| | | | llvm-svn: 66080
* add some helper classes for building light-weight symbolic stack tracesChris Lattner2009-03-042-0/+134
| | | | | | that get printed when a program crashes. This is the first step of many. llvm-svn: 66076
* Re-commit 65975 and a fix for the problem thatDale Johannesen2009-03-042-0/+4
| | | | | | | was causing llvm-gcc to fail to build. I've verified it bootstraps now; good enough for me. llvm-svn: 66073
* Add a new 'AddSignalHandler' function to Signals.h that allowsChris Lattner2009-03-043-141/+88
| | | | | | | | | | | | | arbitrary functions to be run when a crash happens. Delete RemoveDirectoryOnSignal as it is dead and has never had clients. Change PrintStackTraceOnErrorSignal to be implemented in terms of AddSignalHandler. I updated the Win32 versions of these APIs, but can't test them. If there are any problems, I'd be happy to fix them as well. llvm-svn: 66072
* Fix this comment.Dan Gohman2009-03-041-1/+2
| | | | llvm-svn: 66065
* Add an assertion for a condition that's always true, and notDan Gohman2009-03-041-0/+3
| | | | | | immediately obvious. llvm-svn: 66062
* Give sentinel traits the right to determine the policy where the sentinel is ↵Gabor Greif2009-03-047-11/+71
| | | | | | | | kept. This should result in less indirect memory accesses, less dead writes and tighter code. llvm-svn: 66061
* Re-apply 66008, now that the unfoldMemoryOperand bug is fixed.Dan Gohman2009-03-045-127/+320
| | | | llvm-svn: 66058
* Correct this comment.Dan Gohman2009-03-041-1/+1
| | | | llvm-svn: 66057
* When using MachineInstr operand indices on SDNodes, the numberDan Gohman2009-03-041-3/+4
| | | | | | | | | of MachineInstr def operands must be subtracted out. This bug was uncovered by the recent x86 EFLAGS optimization. Before that, the only instructions that ever needed unfolding were things like CMP32rm, where NumDefs is zero. llvm-svn: 66056
* complete comment.Chris Lattner2009-03-041-1/+3
| | | | llvm-svn: 66055
OpenPOWER on IntegriCloud