summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r59009 broke these tests. XFAIL for now.Bill Wendling2008-11-112-0/+2
| | | | llvm-svn: 59010
* CellSPU: Fix bug 3606, as well as some ongoing work.Scott Michel2008-11-103-12/+58
| | | | llvm-svn: 59009
* Small simplification. Use the iterator already present as the insertion point.Bill Wendling2008-11-101-4/+3
| | | | llvm-svn: 59008
* Comments and indentation.Evan Cheng2008-11-101-3/+3
| | | | llvm-svn: 59007
* Correct PIC function stub codegen.Evan Cheng2008-11-102-7/+52
| | | | llvm-svn: 59006
* CMake: Fixed cross-compiling.Oscar Fuentes2008-11-101-7/+2
| | | | | | | `clean' makefile target removes add-hoc directory created for building the native tablegen. llvm-svn: 59005
* Fix indentation.Dan Gohman2008-11-101-1/+1
| | | | llvm-svn: 59004
* Temporarily revert r58979 and related patch. It's causing a failure in X86 ↵Bill Wendling2008-11-102-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | bootstrap: Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1obj-checksum.o differs warning: ./cc1objplus-checksum.o differs warning: ./cc1plus-checksum.o differs Bootstrap comparison failure! ./alias.o differs ./alloc-pool.o differs ./attribs.o differs ./bb-reorder.o differs ./bitmap.o differs ./build/errors.o differs ./build/genattrtab.o differs ./build/genautomata.o differs ./build/genemit.o differs ./build/genextract.o differs ... -bw llvm-svn: 59003
* - Make sure that we don't over-increment the iterator when going through theBill Wendling2008-11-101-7/+8
| | | | | | | basic blocks. - Minor code clean-up. llvm-svn: 59002
* Added CONVERT_RNDSAT (conversion with rounding and saturation) SDNode toMon P Wang2008-11-1010-2/+367
| | | | | | | support targets that support these conversions. Users should avoid using this node as the current targets don't generating code for it. llvm-svn: 59001
* Basic support for taking the address of an overloaded functionDouglas Gregor2008-11-109-14/+203
| | | | llvm-svn: 59000
* Update VC++ project file.Steve Naroff2008-11-101-0/+4
| | | | llvm-svn: 58997
* Update VC++ project file.Steve Naroff2008-11-101-0/+4
| | | | llvm-svn: 58996
* If the sign of exit condition and split condition does not matchDevang Patel2008-11-102-1/+75
| | | | | | then do not split loop index. llvm-svn: 58995
* Fix PR2667: add soft float support for sint_to_fp/uint_to_fpDuncan Sands2008-11-103-15/+80
| | | | | | | where the argument is an apint, or smaller than the minimum size for which there is a libcall (i32). llvm-svn: 58994
* Tweak some comments.Duncan Sands2008-11-102-5/+4
| | | | llvm-svn: 58993
* Small cleanups. No functionality change intended!Duncan Sands2008-11-103-16/+13
| | | | llvm-svn: 58992
* When promoting the result of fp_to_uint/fp_to_sint,Duncan Sands2008-11-102-20/+16
| | | | | | | | | | | | | | | | | | inform the optimizers that the result must be zero/ sign extended from the smaller type. For example, if a fp to unsigned i16 is promoted to fp to i32, then we are allowed to assume that the extra 16 bits are zero (because the result of fp to i16 is undefined if the result does not fit in an i16). This is quite aggressive, but should help the optimizers produce better code. This requires correcting a test which thought that fp_to_uint is some kind of truncation, which it is not: in the testcase (which does fp to i1), either the fp value converts to 0 or 1 or the result is undefined, which is quite different to truncation. llvm-svn: 58991
* Remove an out-of-date FIXMEDouglas Gregor2008-11-101-1/+0
| | | | llvm-svn: 58990
* Improve parser error recovery after a constructor initializerDouglas Gregor2008-11-103-3/+28
| | | | llvm-svn: 58989
* Allow user-defined conversions during reference bindingDouglas Gregor2008-11-102-2/+77
| | | | llvm-svn: 58988
* Don't create a typedef for the injected-class-nameDouglas Gregor2008-11-101-14/+5
| | | | llvm-svn: 58987
* Some cleanups to the declaration/checking of overloaded operators in C++. ↵Douglas Gregor2008-11-106-146/+142
| | | | | | Thanks to Sebastian for the review llvm-svn: 58986
* Add pretty printing to StringRegion.Zhongxing Xu2008-11-102-0/+6
| | | | llvm-svn: 58985
* Work around PR1000.Duncan Sands2008-11-101-1/+1
| | | | llvm-svn: 58984
* Add region store model to path-sensitive testing.Zhongxing Xu2008-11-101-0/+1
| | | | llvm-svn: 58983
* Implement RegionStoreManager::RemoveDeadBindings(). This prunes several ↵Zhongxing Xu2008-11-101-4/+20
| | | | | | false warning caused by removal of symbolic constraints. Currently we just mark all symbols live. Further optimization for dead binding removal needed. llvm-svn: 58982
* Proper way of doing llvm canadian-cross compilation.Anton Korobeynikov2008-11-102-47/+39
| | | | | | Patch by Jim Grosbach! llvm-svn: 58981
* Reenable test.Dale Johannesen2008-11-101-1/+0
| | | | llvm-svn: 58980
* Really fix testb optimization on big-endian.Dale Johannesen2008-11-101-5/+8
| | | | | | Fixes ppc32 bootstrap. llvm-svn: 58979
* Third time's a charm.Bill Wendling2008-11-101-60/+58
| | | | | | | The previous patches didn't match correctly. Also, we need to make sure that the conditional is the same before doing the transformation. llvm-svn: 58978
* don't preserve names on IR instructions. This matches llvm-gcc's behavior andChris Lattner2008-11-101-1/+2
| | | | | | speeds up the compiler by ~8% at -emit-llvm -O0. llvm-svn: 58977
* sort files add a missed header to the project.Chris Lattner2008-11-101-8/+10
| | | | llvm-svn: 58976
* Fix even more bugs in debug info support:Chris Lattner2008-11-101-5/+0
| | | | | | | | | 1. emit proper debug info for forward decls of structs. 2. emit DW_TAG_member nodes around members of a field like llvm-gcc does. This slows down debug info generation, but is required for correctness. llvm-svn: 58973
* reimplement debug info generation in terms of DebugInfo.h instead ofChris Lattner2008-11-103-722/+410
| | | | | | | using MachineModuleInfo. This runs at about the same speed as the old code, but fixes a bunch of bugs and is simpler and shorter. llvm-svn: 58971
* final editsChris Lattner2008-11-101-13/+12
| | | | llvm-svn: 58966
* Print integer value instead of raw pointer. This is a hack to be fixed by ↵Zhongxing Xu2008-11-101-3/+1
| | | | | | migrating the output in analyzer to llvm::raw_ostream. llvm-svn: 58965
* Added support for the following definition of shufflevector Mon P Wang2008-11-1012-77/+315
| | | | | | <result> = shufflevector <n x <ty>> <v1>, <n x <ty>> <v2>, <m x i32> <mask> llvm-svn: 58964
* eliminate a couple more uses of utohexstr.Chris Lattner2008-11-101-6/+10
| | | | llvm-svn: 58963
* Use utohex_buffer instead of utohexstr to avoid creating a temporaryChris Lattner2008-11-102-2/+5
| | | | | | string in the .ll and .s printers. llvm-svn: 58962
* split out the functionality of utohexstr into a new utohex_bufferChris Lattner2008-11-101-7/+22
| | | | | | | helper. This allows us to convert numbers to hex without necessarily needing to make a std::string to hold the result. llvm-svn: 58961
* Move getCastToEmpty out of DIDescriptor into DIFactory. It is anChris Lattner2008-11-102-50/+51
| | | | | | | implementation detail of DIFactory anyway, and this allows it to avoid recomputing the same type over and over. llvm-svn: 58960
* Fix an over aggressive assumption that struct decls will have a pointer toChris Lattner2008-11-101-1/+1
| | | | | | | an array that is empty. Instead of requiring this array, allow a null pointer. This shrinks all forward references of structs. llvm-svn: 58959
* Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does.Chris Lattner2008-11-101-1/+1
| | | | llvm-svn: 58958
* move some cases around to silence these sorts of warnings in Chris Lattner2008-11-101-6/+6
| | | | | | | | | | release-asserts build: llvm/CodeGen/SelectionDAGNodes.h:1298: warning: control may reach end of non-void function 'unsigned int llvm::MVT::getSizeInBits() const' being inlined what an unhelpful warning. llvm-svn: 58957
* silence a warning from gcc.Chris Lattner2008-11-101-0/+1
| | | | llvm-svn: 58956
* add new fileChris Lattner2008-11-101-0/+1
| | | | llvm-svn: 58955
* Add a new set of helper classes for creating and reading debug Chris Lattner2008-11-102-0/+1056
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | information. This logically replaces the "Desc" classes in MachineModuleInfo. Nice features of these classes are that they: 1. Are much more efficient than MMI because they don't create a temporary parallel data structure for debug info that has to be 'serialized' and 'deserialized' into/out of the module. 2. These provide a much cleaner abstraction for debug info than MMI, which will make it easier to change the implementation in the future (to be MDNode-based). 3. These are much easier to use than the MMI interfaces, requiring a lot less code in the front-ends. 4. These can be used to both create (for frontends) and read (for codegen) debug information. DebugInfoBuilder can only be used to create the nodes. So far, this is implemented just enough to support the debug info generation needs of clang. This can and should be extended to support the full set of debug info constructs, and we should switch llvm-gcc and llc over to using this in the near future. This code also has a ton of FIXMEs in it, because the way we currently represent debug info in LLVM IR is basically insane in a variety of details. This sort of issue should be fixed when we eventually reimplement debug info on top of MDNodes. llvm-svn: 58954
* CMake: Builds a native tblgen when cross-compiling and the user didn'tOscar Fuentes2008-11-102-28/+17
| | | | | | set LLVM_TABLEGEN. llvm-svn: 58953
* Forgot these.Evan Cheng2008-11-101-19/+19
| | | | llvm-svn: 58952
OpenPOWER on IntegriCloud