summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Add detection of __dso_handle presence during configure. Use this ↵Anton Korobeynikov2007-07-303-15/+26
| | | | | | | | | information in the JITer (short path is added for darwin). This is needed to properly JIT llvm-gcc-4.2-built binaries, since cxa_atexit is enabled by default on much more targets. llvm-svn: 40600
* Fix a typo/thinko.Reid Spencer2007-07-301-1/+1
| | | | llvm-svn: 40599
* Fix a bug in getCopyFromParts turned up in the testcase for PR1132.Dan Gohman2007-07-303-3/+49
| | | | llvm-svn: 40598
* Use more caching when computing non-local dependence. This makes bzip2 notOwen Anderson2007-07-302-1/+5
| | | | | | use up the entire 32-bit address space. llvm-svn: 40596
* Fix a bug caused by indiscriminantly asking for the dominators of a predecessor.Owen Anderson2007-07-302-3/+278
| | | | llvm-svn: 40595
* Use tabs more consistently in assembler pseudo-ops.Dan Gohman2007-07-302-5/+5
| | | | llvm-svn: 40594
* Print a space between the comment character and the basic block name,Dan Gohman2007-07-301-1/+2
| | | | | | for prettiness. llvm-svn: 40593
* Fix the comments for the 'fast' parameter in addPassesToEmitFile.Dan Gohman2007-07-301-4/+6
| | | | llvm-svn: 40592
* Remove a FIXME comment that wasn't removed when the code it accompaniedDan Gohman2007-07-301-1/+0
| | | | | | was removed. llvm-svn: 40591
* Fix the comment for getClosestTargetForJIT to reflect the fact thatDan Gohman2007-07-302-8/+6
| | | | | | it does not have a Module parameter. llvm-svn: 40590
* More explicit keywords.Dan Gohman2007-07-304-5/+5
| | | | llvm-svn: 40589
* Fix pastos in comments for doFinalization functions.Dan Gohman2007-07-303-4/+4
| | | | llvm-svn: 40588
* New test case.Evan Cheng2007-07-301-0/+8
| | | | llvm-svn: 40587
* Vector fneg must be expanded into fsub -0.0, X.Evan Cheng2007-07-303-2/+21
| | | | llvm-svn: 40586
* Add tests for generating noalias parameter attribute from __restrict ↵Christopher Lamb2007-07-293-0/+22
| | | | | | qualified function parameters. C++ tests are currently XFAILing see PR1582. llvm-svn: 40583
* Be explicit about which level of optimization is being asked for. The -O optionReid Spencer2007-07-291-2/+2
| | | | | | is equivalent to -O1. llvm-svn: 40581
* Change the x86 backend to use extract_subreg for truncation operations. ↵Christopher Lamb2007-07-296-113/+37
| | | | | | Passes DejaGnu, SingleSource and MultiSource. llvm-svn: 40578
* Add register info needed to use subreg sets on X86.Christopher Lamb2007-07-281-2/+51
| | | | llvm-svn: 40572
* Make this explictly signed. Fixes PR1571.Nick Lewycky2007-07-281-1/+1
| | | | llvm-svn: 40569
* Add facility to dump pass manager structure Devang Patel2007-07-272-4/+13
| | | | | | to make it easier to understand failure. llvm-svn: 40567
* Trampoline codegen support for X86-32.Duncan Sands2007-07-275-12/+130
| | | | llvm-svn: 40566
* Forget to add 'nest' to the list of parameterDuncan Sands2007-07-271-0/+3
| | | | | | attributes. llvm-svn: 40565
* Fix edge cases in handling basic block split.Devang Patel2007-07-271-3/+12
| | | | llvm-svn: 40564
* Use SmallPtrSet.Devang Patel2007-07-274-7/+7
| | | | llvm-svn: 40560
* VStudio compiler errors and placing Function*->ExFunc map under ↵Chuck Rose III2007-07-273-9/+10
| | | | | | | | | | | | | ManagedStatic control. This commit fixes two things. One is a pair of VStudio compiler errors stemming from variables which defined within the for loop statement and also within the body of the for loop. I fixed these by renaming one of the two variables. Additionally, I've made the Function*->ExFunc map in ExternalFunctions.cpp a ManagedStatic object, so that cleanup will be done on llvm_shutdown. In repeated uses of the interpreter, where the same Function* address may get used for completely differnet functions, this was causing a crash. llvm-svn: 40558
* Updates to the VStudio project files:Chuck Rose III2007-07-2731-2361/+4838
| | | | | | | | | | | | | | | | | | 1. Switch from VStudio 2k3 to VStudio 2k5 2. All pdb files now will be placed as $(OutputDir)/$(ProjectName).pdb. This puts them alongside the binaries with the same base name as the binary. If you need to copy the results of your llvm build into another project's tree, this will simplify that process. 3. Recent files added to the tree were added to the proejects within the VStudio project 4. Project build dependency order fixed so that the build can take place in one pass. A generated file was not being built at the correct time, causing a build error in about half the projects until the build was run a second time. Note you will need flex and bison installed an in your path in order to build properly. llvm-svn: 40557
* Allow SmallPtrSet to hold pointers to const data.Owen Anderson2007-07-272-33/+33
| | | | llvm-svn: 40556
* Re-apply 40504, but with a fix for the segfault it caused in oggenc:Dan Gohman2007-07-275-76/+57
| | | | | | | | | Make the alignedload and alignedstore patterns always require 16-byte alignment. This way when they are used in the "Fs" instructions, in which a vector instruction is used for a scalar purpose, they can still require the full vector alignment. And add a regression test for this. llvm-svn: 40555
* It seems logical that InReg should be incompatibleDuncan Sands2007-07-271-3/+2
| | | | | | with StructReturn and ByVal, so make it so. llvm-svn: 40554
* As the number of parameter attributes increases,Duncan Sands2007-07-271-39/+55
| | | | | | | | | | | | | | | | | | | | Verifier::visitFunction is suffering a combinatorial explosion due to the number of mutually incompatible attributes. This patch tidies the whole thing up using attribute masks. While there I fixed some small bugs: (1) the ByVal attribute tests cast a type to a pointer type, which can fail. Yes, the fact it is of a pointer type is checked before, but a failing check does not cause the program to exit, it continues on outputting further errors; (2) Nothing was checking that an sret attribute is on the first parameter; (3) nothing was checking that a function for which isStructReturn() is true has a parameter with the sret attribute and vice-versa (I don't think it is possible for this to go wrong, but it seems right to check it). llvm-svn: 40553
* Support for trampolines, except for X86 codegen which isDuncan Sands2007-07-2720-14/+252
| | | | | | still under discussion. llvm-svn: 40549
* Move subreg lowering pass to be right after regalloc, per feedback.Christopher Lamb2007-07-271-4/+10
| | | | llvm-svn: 40548
* Reverting 40504 for now. It's breaking oggenc.Evan Cheng2007-07-274-36/+71
| | | | llvm-svn: 40547
* Fix thinko. Update return status appropriately.Devang Patel2007-07-261-1/+1
| | | | llvm-svn: 40546
* Fix a bug introduced in my last commit.Owen Anderson2007-07-263-2/+24
| | | | llvm-svn: 40542
* Fix a couple more bugs in the phi construction by pulling in code that doesOwen Anderson2007-07-264-61/+93
| | | | | | almost the same things from LCSSA. llvm-svn: 40540
* Test case for PR1573.Evan Cheng2007-07-261-0/+54
| | | | llvm-svn: 40539
* Make sure epilogue esp adjustment is placed before any terminator and pop ↵Evan Cheng2007-07-261-2/+3
| | | | | | instructions. llvm-svn: 40538
* Don't pollute the meaning of isUnpredicatedTerminator.Evan Cheng2007-07-261-7/+12
| | | | llvm-svn: 40537
* Fix test.Evan Cheng2007-07-261-2/+2
| | | | llvm-svn: 40536
* Minor bug.Evan Cheng2007-07-261-3/+3
| | | | llvm-svn: 40535
* Fix the alias analysis query in DAGCombiner to not add in twoDan Gohman2007-07-261-2/+2
| | | | | | | offsets. The SrcValueOffset values are the real offsets from the SrcValue base pointers. llvm-svn: 40534
* Move the GET_SIDE_EFFECT_INFO logic from isInstructionTriviallyDeadDan Gohman2007-07-262-11/+12
| | | | | | | to Instruction::mayWriteToMemory, fixing a FIXME, and helping various places that call mayWriteToMemory directly. llvm-svn: 40533
* Remove a bogus return statement, what appears to have been a pastoDan Gohman2007-07-261-1/+0
| | | | | | from Relation::contradicts in Relation::incorporate. llvm-svn: 40531
* DummyInst's member functions don't need to be virtual.Dan Gohman2007-07-261-2/+2
| | | | llvm-svn: 40530
* In the .loc directive, print the fields as "debug" fields, so theyDan Gohman2007-07-261-1/+1
| | | | | | don't get decorated as if for immediate fields for instructions. llvm-svn: 40529
* Fix a whitespace difference between CMPSSrr and CMPSDrr.Dan Gohman2007-07-261-2/+1
| | | | llvm-svn: 40528
* Fix a pasto in a comment.Dan Gohman2007-07-261-1/+1
| | | | llvm-svn: 40527
* Add a MachineFunction pass, which runs post register allocation, that turns ↵Christopher Lamb2007-07-263-0/+236
| | | | | | subreg insert/extract instruction into register copies. This ensures correct code gen if the coalescer isn't able to remove all subreg instructions. llvm-svn: 40521
* Teach DAG scheduling how to properly emit subreg insert/extract machine ↵Christopher Lamb2007-07-262-0/+155
| | | | | | instructions. PR1350 llvm-svn: 40520
OpenPOWER on IntegriCloud