Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix rdar://7879828 - crash in CallGraph, a self host issue. | Chris Lattner | 2010-04-20 | 2 | -3/+47 |
| | | | | | | | | Arg promotion was deleting call graph nodes that still had references from the 'indirect' CGN. Like the inliner, it should only delete the function if all references are gone. llvm-svn: 101845 | ||||
* | Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cpp | Dan Gohman | 2010-04-20 | 3 | -23/+16 |
| | | | | | | responsible for figuring out what that's supposed to be on its own. llvm-svn: 101844 | ||||
* | Reapply the removal of SelectionDAGISel's BB, with a fix for the case | Dan Gohman | 2010-04-20 | 2 | -24/+28 |
| | | | | | | | where multiple blocks are emitted; functions which do this need to return the new BB so that their callers can stay current. llvm-svn: 101843 | ||||
* | Don't bother looking for (or diagnosing problems with) the 'operator delete' | John McCall | 2010-04-20 | 5 | -3/+31 |
| | | | | | | associated with a new expression if -fno-exceptions is set. llvm-svn: 101841 | ||||
* | Fix tests for Neon load/store intrinsics to match the i8* types expected by | Bob Wilson | 2010-04-20 | 10 | -94/+188 |
| | | | | | | | | | | the intrinsics. The reason for those i8* types is that the intrinsics are overloaded on the vector type and we don't have a way to declare an intrinsic where one argument is an overloaded vector type and another argument is a pointer to the vector element type. The bitcasts added here will match what the frontend will typically generate when these intrinsics are used. llvm-svn: 101840 | ||||
* | More IT instruction error-handling improvements from fuzzing. | Johnny Chen | 2010-04-20 | 1 | -3/+17 |
| | | | | llvm-svn: 101839 | ||||
* | Do not diagnose unused-parameter errors in template instantiations. We | Douglas Gregor | 2010-04-19 | 2 | -1/+33 |
| | | | | | | will already have done so when the template is declared. llvm-svn: 101838 | ||||
* | Revert 101825, which is causing trouble. | Dan Gohman | 2010-04-19 | 2 | -19/+18 |
| | | | | llvm-svn: 101832 | ||||
* | Make BreakAntiDependencies' SUnits argument const, and make the Begin | Dan Gohman | 2010-04-19 | 5 | -41/+42 |
| | | | | | | and End arguments by-value rather than by-reference. llvm-svn: 101830 | ||||
* | Better error handling of invalid IT mask '0000', instead of just asserting. | Johnny Chen | 2010-04-19 | 3 | -5/+11 |
| | | | | llvm-svn: 101827 | ||||
* | Keep track of the actual storage specifier written on a variable or | Douglas Gregor | 2010-04-19 | 23 | -107/+230 |
| | | | | | | | | function declaration, since it may end up being changed (e.g., "extern" can become "static" if a prior declaration was static). Patch by Enea Zaffanella and Paolo Bolzoni. llvm-svn: 101826 | ||||
* | Eliminate SelectionDAGISel's "current block" member. Just pass it as | Dan Gohman | 2010-04-19 | 2 | -18/+19 |
| | | | | | | an argument to things that need it. llvm-svn: 101825 | ||||
* | Delete an unnecessary reference to SelectionDAGISel::BB. | Dan Gohman | 2010-04-19 | 1 | -1/+0 |
| | | | | llvm-svn: 101824 | ||||
* | Eliminate the CurMBB member from SelectionDAGBuilder. For places that | Dan Gohman | 2010-04-19 | 3 | -84/+106 |
| | | | | | | | need it, just pass around the parent block of the current instruction explicitly. llvm-svn: 101822 | ||||
* | Only suppress the "extern variable has an initializer" warning when the ↵ | Douglas Gregor | 2010-04-19 | 2 | -2/+3 |
| | | | | | | extern entity being initialized is const. llvm-svn: 101821 | ||||
* | Remove the Expr member from IVUsers. Instead of remembering the expression, | Dan Gohman | 2010-04-19 | 4 | -58/+65 |
| | | | | | | | just ask ScalarEvolution for it on demand. This helps IVUsers be more robust in the case of expressions changing underneath it. This fixes PR6862. llvm-svn: 101819 | ||||
* | Disable the "'extern' variable has an initializer" warning in C++, | Douglas Gregor | 2010-04-19 | 2 | -1/+4 |
| | | | | | | | since it makes sense there to have const extern variables. Fixes PR6495. llvm-svn: 101818 | ||||
* | According to A8.6.16 B (Encoding T3) and A8.3 Conditional execution -- A8.3.1 | Johnny Chen | 2010-04-19 | 2 | -8/+16 |
| | | | | | | | | | | Pseudocode details of conditional, Condition bits '111x' indicate the instruction is always executed. That is, '1111' is a leagl condition field value, which is now mapped to ARMCC::AL. Also add a test case for condition field '1111'. llvm-svn: 101817 | ||||
* | AST: Dump ASTRecordLayout objects when they are created with ↵ | Daniel Dunbar | 2010-04-19 | 3 | -13/+31 |
| | | | | | | -fdump-record-layouts. llvm-svn: 101815 | ||||
* | IRgen: Kill unused function and move the type match assert to after record ↵ | Daniel Dunbar | 2010-04-19 | 1 | -13/+8 |
| | | | | | | dumping. llvm-svn: 101814 | ||||
* | add a PPCallback handler for a skipped #include, patch by | Chris Lattner | 2010-04-19 | 2 | -6/+24 |
| | | | | | | Zhanyong Wan! llvm-svn: 101813 | ||||
* | Fix typo. add a test case. | Devang Patel | 2010-04-19 | 2 | -1/+31 |
| | | | | llvm-svn: 101812 | ||||
* | When normal name lookup to disambiguiate an Objective-C message send | Douglas Gregor | 2010-04-19 | 1 | -0/+10 |
| | | | | | | | fails to find anything, perform ivar lookup and, if we find one, consider this an instance message. llvm-svn: 101810 | ||||
* | More progress on promoting i16 operations to i32 for x86. Work in progress. | Evan Cheng | 2010-04-19 | 2 | -17/+153 |
| | | | | llvm-svn: 101808 | ||||
* | Give SelectionDAG a TargetMachine too, rather than having it | Dan Gohman | 2010-04-19 | 3 | -9/+6 |
| | | | | | | fetch one from the MachineFunction. llvm-svn: 101807 | ||||
* | More 80 col violation. | Evan Cheng | 2010-04-19 | 1 | -2/+4 |
| | | | | llvm-svn: 101806 | ||||
* | Add DW_AT_APPLE_omit_frame_ptr to encode -fomit-frame-pointer flag. | Devang Patel | 2010-04-19 | 3 | -1/+8 |
| | | | | llvm-svn: 101805 | ||||
* | More tests for Objective-C-related name lookup weirdness. Yes, it's | Douglas Gregor | 2010-04-19 | 2 | -0/+37 |
| | | | | | | weird; yes, it's what GCC does. Almost. llvm-svn: 101803 | ||||
* | Code that needs a TargetMachine should have access to one directly, rather | Dan Gohman | 2010-04-19 | 7 | -21/+23 |
| | | | | | | than just getting one through a TargetLowering. llvm-svn: 101802 | ||||
* | Move isInTailCallPosition out of SelectionDAGBuilder, as it isn't | Dan Gohman | 2010-04-19 | 3 | -86/+95 |
| | | | | | | SelectionDAG-specific. llvm-svn: 101801 | ||||
* | Add a testcase for PR6501 (too many/too few arguments to a function call). | Eric Christopher | 2010-04-19 | 1 | -0/+6 |
| | | | | llvm-svn: 101800 | ||||
* | Check for darwin befoer cheking for version. | Fariborz Jahanian | 2010-04-19 | 1 | -1/+2 |
| | | | | | | (related to radar 7866951). llvm-svn: 101799 | ||||
* | Enable -Wcast-qual for C++ files, where intentional qualifier-stripping can | Dan Gohman | 2010-04-19 | 1 | -0/+2 |
| | | | | | | be done with const_cast. llvm-svn: 101798 | ||||
* | Make this test darwin10 specific. | Fariborz Jahanian | 2010-04-19 | 1 | -1/+1 |
| | | | | llvm-svn: 101797 | ||||
* | Temporarily XFAIL this test on windows. | Eric Christopher | 2010-04-19 | 1 | -0/+2 |
| | | | | llvm-svn: 101796 | ||||
* | Remove the argument number from the constant integer diagnostic. | Eric Christopher | 2010-04-19 | 6 | -8/+8 |
| | | | | | | Update all of the testcases accordingly. llvm-svn: 101795 | ||||
* | Some renaming of methods, fixes typo | Fariborz Jahanian | 2010-04-19 | 4 | -6/+8 |
| | | | | | | (related to PR6769). llvm-svn: 101794 | ||||
* | Remove -module, which appears to be a leftover from prior libtool usage. | Dan Gohman | 2010-04-19 | 1 | -7/+0 |
| | | | | llvm-svn: 101793 | ||||
* | When searching for code-completion and typo-correction candidates, | Douglas Gregor | 2010-04-19 | 2 | -0/+49 |
| | | | | | | | | look from an Objective-C class or category to its implementation, to pick up synthesized ivars. Fixes a problem reported by David Chisnall. llvm-svn: 101792 | ||||
* | Force clang to produce legacy api for messaging | Fariborz Jahanian | 2010-04-19 | 2 | -1/+23 |
| | | | | | | | in for pre-snowleoprd (NeXt runtime). Fixes radar 7866951 llvm-svn: 101791 | ||||
* | This doesn't need SmallVector.h anymore. | Dan Gohman | 2010-04-19 | 1 | -1/+0 |
| | | | | llvm-svn: 101790 | ||||
* | Support .a files directly (without -l). | Mikhail Glushenkov | 2010-04-19 | 1 | -1/+2 |
| | | | | llvm-svn: 101789 | ||||
* | Better error-handling for DisassembleThumb2DPSoReg() where the 3-reg operand | Johnny Chen | 2010-04-19 | 1 | -3/+6 |
| | | | | | | | | instructions should have Rd (Inst{11-8}) != 0b1111. Ref: A6.3 32-bit Thumb instruction encoding A6.3.11 Data-processing (shifted register) llvm-svn: 101788 | ||||
* | Add comment explaning the use of c99 inline in c++. | Rafael Espindola | 2010-04-19 | 1 | -0/+4 |
| | | | | llvm-svn: 101787 | ||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 12 | -14/+25 |
| | | | | llvm-svn: 101786 | ||||
* | Fix this for std::vectors which don't have .data(). | Dan Gohman | 2010-04-19 | 1 | -1/+1 |
| | | | | llvm-svn: 101785 | ||||
* | ARM disassembler did not react to recent changes to the NEON instruction table. | Johnny Chen | 2010-04-19 | 2 | -10/+26 |
| | | | | | | VLD1q*_UPD and VST1q*_UPD have the ${dst:dregpair} operand now. llvm-svn: 101784 | ||||
* | Don't write into MemoryBuffers. | Benjamin Kramer | 2010-04-19 | 5 | -20/+15 |
| | | | | llvm-svn: 101783 | ||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 1 | -6/+10 |
| | | | | llvm-svn: 101782 | ||||
* | Revert 91528 and use a std::vector instead, fixing an abuse of std::string. | Dan Gohman | 2010-04-19 | 1 | -10/+16 |
| | | | | llvm-svn: 101781 |