- Dec 15, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 170267
-
Reed Kotler authored
In this case, essentially it is soft float with different library routines. The next step will be to make this fully interoperational with mips32 floating point and that requires creating stubs for functions with signatures that contain floating point types. I have a more sophisticated design for mips16 hardfloat which I hope to implement at a later time that directly does floating point without the need for function calls. The mips16 encoding has no floating point instructions so one needs to switch to mips32 mode to execute floating point instructions. llvm-svn: 170259
-
Eric Christopher authored
Make emitDIE public accordingly. No functional change. llvm-svn: 170258
-
Eric Christopher authored
llvm-svn: 170257
-
Kevin Enderby authored
immediate generates the narrow version. Needed when doing round-trip assemble/disassemble testing using the alternate syntax that specifies 'pc' directly. llvm-svn: 170255
-
- Dec 14, 2012
-
-
Michael Ilseman authored
Add back FoldOpIntoPhi optimizations with fix. Included test cases to help catch these errors and to test the presence of the optimization itself llvm-svn: 170248
-
Nadav Rotem authored
llvm-svn: 170246
-
Nadav Rotem authored
TypeLegalizer: Do not generate target specific nodes with illegal types, because we cant type-legalize them. llvm-svn: 170245
-
Nadav Rotem authored
llvm-svn: 170240
-
Bill Schmidt authored
for TLS dynamic models on 64-bit PowerPC ELF. The default sort routine for relocations only sorts on the r_offset field; but with TLS, there can be two relocations with the same r_offset. For PowerPC, this patch sorts secondarily on descending r_type, which matches the behavior expected by the linker. llvm-svn: 170237
-
Pedro Artigas authored
Add more reset methods to make all objects that the backend may use for outputting code have a reset, some are not used but were declared for completeness llvm-svn: 170227
-
Shuxin Yang authored
Implement rule : "x * (select cond 1.0, 0.0) -> select cond x, 0.0" llvm-svn: 170226
-
Bill Schmidt authored
for a wider range of GOT entries that can hold thread-relative offsets. This matches the behavior of GCC, which was not documented in the PPC64 TLS ABI. The ABI will be updated with the new code sequence. Former sequence: ld 9,x@got@tprel(2) add 9,9,x@tls New sequence: addis 9,2,x@got@tprel@ha ld 9,x@got@tprel@l(9) add 9,9,x@tls Note that a linker optimization exists to transform the new sequence into the shorter sequence when appropriate, by replacing the addis with a nop and modifying the base register and relocation type of the ld. llvm-svn: 170209
-
Evgeniy Stepanov authored
llvm-svn: 170203
-
Evgeniy Stepanov authored
Origin address is always 4 byte aligned, and the access type is always i32. llvm-svn: 170199
-
Evgeniy Stepanov authored
This change moves the code for default shadow propagaition (handleShadowOr) and origin tracking (setOriginForNaryOp) into a new builder-like class. Also gets rid of handleShadowOrBinary. llvm-svn: 170192
-
Patrik Hagglund authored
EVT. llvm-svn: 170183
-
Nadav Rotem authored
llvm-svn: 170172
-
Nadav Rotem authored
llvm-svn: 170166
-
Nadav Rotem authored
llvm-svn: 170162
-
Jakob Stoklund Olesen authored
The new API is higher level than just manipulating the bundle flags directly, and the setIsInsideBundle() function will disappear soon. llvm-svn: 170159
-
Shuxin Yang authored
llvm-svn: 170158
-
Nadav Rotem authored
Enable the Loop Vectorizer by default for O2 and O3. Disable if-conversion by default. I plan to revert this patch later today. llvm-svn: 170157
-
- Dec 13, 2012
-
-
David Blaikie authored
This is the LLVM portion of r170154. llvm-svn: 170156
-
Bill Schmidt authored
some hackery in place that hid my poor use of TblGen, which I've now sorted out and cleaned up. No change in observable behavior, so no new test cases. llvm-svn: 170149
-
Patrik Hagglund authored
llvm-svn: 170148
-
Tom Stellard authored
Patch by: NAKAMURA Takumi llvm-svn: 170142
-
Bill Schmidt authored
avoiding use of machine operand flags. No change in observable behavior, so no new test cases. llvm-svn: 170141
-
Patrik Hagglund authored
EVT. Accordingly, change RegDefIter to contain MVTs instead of EVTs. llvm-svn: 170140
-
NAKAMURA Takumi authored
This assumes (1 << n) is always not zero. Consider n is greater than word size. Although I know it is undefined, this transforms undefined behavior hidden. This led clang unexpected behavior with some failures. I will investigate to fix undefined shl in clang. llvm-svn: 170128
-
Eric Christopher authored
it seems to be breaking self-host for a few people and is PR14592. This reverts commit r170024. llvm-svn: 170106
-
Eric Christopher authored
This reverts commit r170095 since it appears to be breaking the bots. llvm-svn: 170105
-
Patrik Hagglund authored
Accordingly, add helper funtions getSimpleValueType (in parallel to getValueType) in SDValue, SDNode, and TargetLowering. This is the first, in a series of patches. This is the second attempt. In the first attempt (r169837), a few getSimpleVT() were hoisted too far, detected by bootstrap failures. llvm-svn: 170104
-
Rafael Espindola authored
On MachO, sections also have segment names. When a tool looking at a .o file prints a segment name, this is what they mean. In reality, a .o has only one, anonymous, segment. This patch adds a MachO only function to fetch that segment name. I named it getSectionFinalSegmentName since the main use for the name seems to be informing the linker with segment this section should go to. The patch also changes MachOObjectFile::getSectionName to return just the section name instead of computing SegmentName,SectionName. llvm-svn: 170095
-
Rafael Espindola authored
llvm-svn: 170094
-
Rafael Espindola authored
In a previous thread it was pointed out that isPowerOfTwo is not a very precise name since it can return false for powers of two if it is unable to show that they are powers of two. llvm-svn: 170093
-
Akira Hatanaka authored
internal linkage. llvm-svn: 170092
-
Michael Ilseman authored
Provides m_Argument that allows matching against a CallSite's specified argument. Provides m_Intrinsic pattern that can be templatized over the intrinsic id and bind/match arguments similarly to other pattern matchers. Implementations provided for 0 to 4 arguments, though it's very simple to extend for more. Also provides example template specialization for bswap (m_BSwap) and example of code cleanup for its use. llvm-svn: 170091
-
Eric Christopher authored
section to help prep some code to be split about. llvm-svn: 170088
-
Eric Christopher authored
given the section. llvm-svn: 170087
-