- Aug 18, 2013
-
-
Chandler Carruth authored
autoconf setup. llvm-svn: 188617
-
Chandler Carruth authored
detecting terminfo. Requested by Craig Topper, and probably should be done much more systematically. llvm-svn: 188616
-
Chandler Carruth authored
allocated by setupterm. Without this, some folks are seeing leaked memory whenever this routine is called more than once. Thanks to Craig Topper for the report. llvm-svn: 188615
-
Hal Finkel authored
This fixes SCEVExpander so that it does not create multiple distinct induction variables for duplicate PHI entries. Specifically, given some code like this: do.body6: ; preds = %do.body6, %do.body6, %if.then5 %end.0 = phi i8* [ undef, %if.then5 ], [ %incdec.ptr, %do.body6 ], [ %incdec.ptr, %do.body6 ] ... Note that it is legal to have multiple entries for a basic block so long as the associated value is the same. So the above input is okay, but expanding an AddRec in this loop could produce code like this: do.body6: ; preds = %do.body6, %do.body6, %if.then5 %indvar = phi i64 [ %indvar.next, %do.body6 ], [ %indvar.next1, %do.body6 ], [ 0, %if.then5 ] %end.0 = phi i8* [ undef, %if.then5 ], [ %incdec.ptr, %do.body6 ], [ %incdec.ptr, %do.body6 ] ... %indvar.next = add i64 %indvar, 1 %indvar.next1 = add i64 %indvar, 1 And this is not legal because there are two PHI entries for %do.body6 each with a distinct value. Unfortunately, I don't have an in-tree test case. llvm-svn: 188614
-
Joerg Sonnenberger authored
llvm-svn: 188613
-
- Aug 17, 2013
-
-
David Blaikie authored
llvm-svn: 188612
-
Guillaume Papin authored
This reverts commit r188610. Issue with the absolute include paths not found in the unit tests on the Windows bots. Needs investigation. llvm-svn: 188611
-
Guillaume Papin authored
The IncludeDirectives class helps with detecting and modifying #include directives. For now it allows the users to add angled-includes in a source file. This is a start for this class that will evolve in the future to add more functionality. llvm-svn: 188610
-
Juergen Ributzka authored
_mm256_broadcastsi128_si256 to align with the Intel documentation. This fixes bug PR 16581 and rdar:14747994. llvm-svn: 188609
-
Juergen Ributzka authored
builtin. The GCC builtin expects the arguments to be passed by val, whereas the LLVM intrinsic expects a pointer instead. This is related to PR 16581 and rdar:14747994. llvm-svn: 188608
-
Anton Yartsev authored
llvm-svn: 188607
-
Joerg Sonnenberger authored
llvm-svn: 188606
-
Joerg Sonnenberger authored
next value. This avoids crashes due to invalidation. Patch by Joey Gouly. llvm-svn: 188605
-
Jason Molenda authored
we've read the ObjectFile's Symtab before we change the File addresses in the Sections. llvm-svn: 188604
-
Richard Smith authored
llvm-svn: 188603
-
Richard Smith authored
preparation for teaching this function how to diagnose a correction that includes importing a module. llvm-svn: 188602
-
Argyrios Kyrtzidis authored
Per feedback from Chandler, it's better to have libraries with more specific functionality. LibIndex will contain the indexing functionality of libclang, which includes USR generation. llvm-svn: 188601
-
David Blaikie authored
Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class" This reverts commit r188576. Reverting while I investigate a selfhosting buildbot failure on Darwin. llvm-svn: 188600
-
Tom Stellard authored
Spotted by Nick Lewycky! llvm-svn: 188599
-
Tom Stellard authored
Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 188598
-
Tom Stellard authored
Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 188597
-
Tom Stellard authored
Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 188596
-
Jim Grosbach authored
Ongoing 'make the verifier happy' improvements to ARM fast-isel. rdar://12594152 llvm-svn: 188595
-
Jim Grosbach authored
Properly constrain the operand register class for instructions used in [sz]ext expansion. Update more tests to use the verifier now that we're getting the register classes correct. rdar://12594152 llvm-svn: 188594
-
Jim Grosbach authored
Teach the generic instruction selection helper functions to constrain the register classes of their input operands. For non-physical register references, the generic code needs to be careful not to mess that up when replacing references to result registers. As the comment indicates for MachineRegisterInfo::replaceRegWith(), it's important to call constrainRegClass() first. rdar://12594152 llvm-svn: 188593
-
Jim Grosbach authored
Lots of machine verifier errors result from using a plain GPR regclass for incoming argument copies. A more restrictive rGPR class is more appropriate since it more accurately represents what's happening, plus it lines up better with isel later on so the verifier is happier. Reduces the number of ARM fast-isel tests not running with the verifier enabled by over half. rdar://12594152 llvm-svn: 188592
-
Fariborz Jahanian authored
for future work. No change otherwise. llvm-svn: 188591
-
Daniel Dunbar authored
- If anyone is interested in lit's feature set, I'd appreciate any comments on the elaborated items. llvm-svn: 188590
-
Daniel Dunbar authored
llvm-svn: 188589
-
Rafael Espindola authored
Before this patch we would warn and drop the attribute in extern const char test3[] __attribute__((used)) = ""; llvm-svn: 188588
-
Ted Kremenek authored
llvm-svn: 188587
-
Reed Kotler authored
This regards how mips16 is viewed. It's not really a target type but there has always been a target for it in the td files. It's more properly -mcpu=mips32 -mattr=+mips16 . This is how clang treats it but we have always had the -mcpu=mips16 which I probably should delete now but it will require updating all the .ll test cases for mips16. In this case it changed how we decide if we have a count bits instruction and whether instruction lowering should then expand ctlz. Now that we have dual mode compilation, -mattr=+mips16 really just indicates the inital processor mode that we are compiling for. (It is also possible to have -mcpu=64 -mattr=+mips16 but as far as I know, nobody has even built such a processor, though there is an architecture manual for this). llvm-svn: 188586
-
David Blaikie authored
DebugInfo: Canonicalize namespaces to avoid emitting multiple namespaces with the same name but different lines Updated test case to not rely on line numbers in more cases (it's hard to use the @ check syntax for debug info test cases (due to the interesting ordering of metadata) and this case in particular (given the hash-line directive)) - left a few in there to cover the line number information for these. llvm-svn: 188585
-
Reid Kleckner authored
Clang doesn't support the MSVC __cpuid intrinsic yet, and fixing that is blocked on some fairly complicated issues. llvm-svn: 188584
-
Chris Lattner authored
llvm-svn: 188583
-
Chris Lattner authored
llvm-svn: 188582
-
- Aug 16, 2013
-
-
Benjamin Kramer authored
llvm-svn: 188581
-
Benjamin Kramer authored
Replace some DenseMap keys with simpler structures that don't need another DenseMapInfo specialization. llvm-svn: 188580
-
Benjamin Kramer authored
llvm-svn: 188579
-
Ted Kremenek authored
llvm-svn: 188578
-