summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Suppress warnings about conversion shortening 64-bit to 32-bit.Bill Wendling2009-04-261-4/+6
| | | | llvm-svn: 70138
* Any size of integral indices are allowed in gep for indexing into sequential ↵Sanjiv Gupta2009-04-263-4/+15
| | | | | | types. Also adding a test case to check the indices type allowed into struct. llvm-svn: 70134
* improve documentation on build configurations, patch byChris Lattner2009-04-251-8/+19
| | | | | | Josef Eisl! llvm-svn: 70087
* add testcase for strange types of gep indicesChris Lattner2009-04-251-0/+12
| | | | llvm-svn: 70085
* Add a new TypeBuilder helper class, which eases making LLVM IR types.Chris Lattner2009-04-252-0/+696
| | | | | | Patch by Jeffrey Yasskin! llvm-svn: 70084
* improve documentation around memory lifetimes, Chris Lattner2009-04-251-5/+17
| | | | | | patch by Jeffrey Yasskin! llvm-svn: 70083
* aDd support for building a subset of the llvm tools, patch by Jeffrey Yasskin!Chris Lattner2009-04-253-3/+11
| | | | llvm-svn: 70082
* testcase and asmparser fix for PR4066Chris Lattner2009-04-252-2/+13
| | | | llvm-svn: 70080
* Allow aliasee to be a GEP or bitcast instead of just a bitcast.Chris Lattner2009-04-252-7/+9
| | | | | | | | | | | The real fix for this whole mess is to require the operand of the alias to be a *GlobalValue* (not a general constant, including constant exprs) but allow the operand and the alias type to be unrelated. This fixes PR4066 llvm-svn: 70079
* Update docs to not mention gcse/loadvn and mention memdep andChris Lattner2009-04-251-24/+12
| | | | | | new stuff. PR3924. llvm-svn: 70077
* Use intptr_t.Bill Wendling2009-04-251-1/+1
| | | | llvm-svn: 70076
* size() should return a size_t; avoids a warning for 64 bit machines.Mon P Wang2009-04-251-1/+1
| | | | llvm-svn: 70072
* Reuse unused val#'s to avoid running out of memory in extreme cases.Evan Cheng2009-04-251-1/+5
| | | | llvm-svn: 70069
* DenseMap.h needs <new> because it explicitly calls operator new/delete.Chris Lattner2009-04-251-0/+1
| | | | | | Patch by John McCall! llvm-svn: 70068
* Fix PR4040: APInt's string constructor is too strictChris Lattner2009-04-252-7/+18
| | | | | | patch by Jeff Yasskin! llvm-svn: 70058
* add support for detecting process features on win64, patch byChris Lattner2009-04-251-36/+50
| | | | | | Nicolas Capens! llvm-svn: 70057
* Refactor the code to grab the low and high parts of a valueDan Gohman2009-04-254-126/+38
| | | | | | using EXTRACT_ELEMENT into a utility function. llvm-svn: 70056
* Return null instead of false, as appropriate.Dan Gohman2009-04-251-3/+3
| | | | llvm-svn: 70054
* Add several more icmp simplifications. Transform signed comparisonsDan Gohman2009-04-252-82/+187
| | | | | | | into unsigned ones when the operands are known to have the same sign bit value. llvm-svn: 70053
* Add a top-level comment about DAGCombiner's role in the compiler.Dan Gohman2009-04-251-0/+4
| | | | llvm-svn: 70052
* Handle ands with 0 and shifts by 0 correctly. These aren'tDan Gohman2009-04-252-2/+32
| | | | | | common, but indvars shouldn't crash on them. This fixes PR4054. llvm-svn: 70051
* Fix g++-4.4.0 warning, it was causing llvm-nm to fail on wrapped BC files:Torok Edwin2009-04-252-1/+10
| | | | | | | | | | | | Path.cpp:59: warning: case label value exceeds maximum value for type magic[0] is a (signed) char, but some case values are unsigned (e.g. 0xde). When magic[0] was 0xde, the switch has taken the default branch instead of case 0xde branch. Apparently this was the behaviour with older versions of gcc too, but not with g++. Now g++-4.4 behaves as gcc, and ignores unsigned case values out of range signed range. llvm-svn: 70038
* Do not share a single unknown val# for all the live ranges merged into a ↵Evan Cheng2009-04-253-23/+32
| | | | | | physical sub-register live interval. When coalescer is merging in clobbered virtaul register live interval into a physical register live interval, give each virtual register val# a separate val# in the physical register live interval. Otherwise, the coalescer would have lost track of the definitions information it needs to make correct coalescing decisions. llvm-svn: 70026
* Fixed the gep example for i16 type indices.Sanjiv Gupta2009-04-251-1/+1
| | | | llvm-svn: 70019
* Change LowerCallResult method so that CCValAssign::BCvt can be used withBob Wilson2009-04-251-16/+16
| | | | | | f64 types. This is not used for anything yet. llvm-svn: 70006
* Fix PR 4057, a crash doing float->char const folding.Dale Johannesen2009-04-242-3/+22
| | | | | | | | This particular one is undefined behavior (although this isn't related to the crash), so it will no longer do it at compile time, which seems better. llvm-svn: 69990
* Adjust a comment to reflect what the code does. Splitting a 64-bit argumentBob Wilson2009-04-241-1/+1
| | | | | | | between registers and the stack may be required with the APCS ABI, but it isn't tied to using a particular version of the ARM architecture. llvm-svn: 69978
* Fix up some problems with getCopyToReg and getCopyFromReg nodes beingBob Wilson2009-04-241-8/+12
| | | | | | | | | chained and "flagged" together. I also made a few changes to handle the chain and flag values more consistently. I found these problems by inspection so I'm not aware of anything that breaks because of them (thus no testcase). llvm-svn: 69977
* Use a bigger hammer to coerce subversion into english.Gabor Greif2009-04-241-1/+1
| | | | | | Patch by Benjamin Kramer! llvm-svn: 69976
* Fix multiclass inheritance to limit value resolution to new defs addedDavid Greene2009-04-244-30/+117
| | | | | | | by base multiclasses. Do not attempt to alter defs from previous base multiclasses. This fixes multiple multiclass inheritance. llvm-svn: 69974
* Remove unnecessary references to f32 types. After specifying that f32Bob Wilson2009-04-241-4/+4
| | | | | | | should be bit-converted to i32, it is sufficient to list only i32 in subsequent definitions. llvm-svn: 69973
* Add LTO_SYMBOL_DEFINITION_WEAKUNDEF, use that on the gold plugin.Rafael Espindola2009-04-244-9/+23
| | | | llvm-svn: 69972
* Fixed spaces and the getelementpointer example with i16 type indices.Sanjiv Gupta2009-04-241-3/+3
| | | | llvm-svn: 69971
* Fix PR 4004 by including the call to __tls_get_addr in X86tlsaddr. This is notRafael Espindola2009-04-244-37/+39
| | | | | | very elegant, but neither is the tls specification :-( llvm-svn: 69968
* Revert 69952. Causes testsuite failures on linux x86-64.Rafael Espindola2009-04-2425-1610/+2157
| | | | llvm-svn: 69967
* fix a typo noticed by duncanChris Lattner2009-04-241-1/+1
| | | | llvm-svn: 69962
* "I got annoyed at the compiler warnings from ConstantInt::get(Ty, -1,Chris Lattner2009-04-242-0/+23
| | | | | | | | | | | true), and casts make me nervous and are verbose anyway, so here's a ConstantInt::getSigned(Ty, int64_t) method. Just overloading ConstantInt::get() to take an int64_t too would cause ambiguous overload errors." Patch by Jeffrey Yasskin! llvm-svn: 69958
* PR2957Nate Begeman2009-04-2425-2157/+1610
| | | | | | | | | | | | | | ISD::VECTOR_SHUFFLE now stores an array of integers representing the shuffle mask internal to the node, rather than taking a BUILD_VECTOR of ConstantSDNodes as the shuffle mask. A value of -1 represents UNDEF. In addition to eliminating the creation of illegal BUILD_VECTORS just to represent shuffle masks, we are better about canonicalizing the shuffle mask, resulting in substantially better code for some classes of shuffles. A clean up of x86 shuffle code, and some canonicalizing in DAGCombiner is next. llvm-svn: 69952
* Instead of requiring TLI.LowerCallTo to return an ISD::BUILD_PAIR,Dan Gohman2009-04-241-60/+118
| | | | | | | | use ISD::EXTRACT_ELEMENT. SelectionDAG has a special fast-path for the cast of an EXTRACT_ELEMENT with a BUILD_PAIR operand, for the common case. llvm-svn: 69948
* Allow i16 type indices to gep.Sanjiv Gupta2009-04-243-8/+7
| | | | llvm-svn: 69946
* Factor out a bit of code that appears in several places into aDan Gohman2009-04-233-14/+16
| | | | | | utility function. llvm-svn: 69937
* Handle Void types in ComputeValueVTs. This doesn't currently occur,Dan Gohman2009-04-231-0/+3
| | | | | | | but this change makes the code more general and easier to adapt for new purposes. llvm-svn: 69935
* Fix spurious indentation in a comment.Dan Gohman2009-04-231-1/+1
| | | | llvm-svn: 69934
* Fix a documentation bug.David Greene2009-04-231-1/+1
| | | | llvm-svn: 69923
* Make BinOps typed and require a type specifier for !nameconcat. ThisDavid Greene2009-04-236-60/+210
| | | | | | | allows binops to be used in typed contexts such as when passing arguments to classes. llvm-svn: 69921
* Update comments.Evan Cheng2009-04-231-2/+2
| | | | llvm-svn: 69919
* Fix an obvious type.Evan Cheng2009-04-231-1/+1
| | | | llvm-svn: 69918
* Explicitly pass -tailcallopt=false to these tests so that theyDan Gohman2009-04-233-3/+3
| | | | | | | work as intended no matter what the default setting of that option is. llvm-svn: 69911
* Testcase for 69795.Dale Johannesen2009-04-231-0/+15
| | | | llvm-svn: 69901
* Fix an error in this test.Dan Gohman2009-04-231-1/+3
| | | | llvm-svn: 69893
OpenPOWER on IntegriCloud