summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate AsmPrinter::EmitExternalGlobal, inlining its (now)Chris Lattner2009-09-163-12/+1
| | | | | | | | one implementation into its one caller. This eliminates a totally awesome and gratuitous hack where we casted a Function* to GlobalVariable*. llvm-svn: 81967
* Neon does not support vector divide or remainder. Expand them.Bob Wilson2009-09-161-0/+8
| | | | llvm-svn: 81966
* eliminate the PPC backend's implementation of EmitExternalGlobalChris Lattner2009-09-162-15/+3
| | | | | | | | | | | | | | | | and use PersonalityPrefix/Suffix to achieve the same effect (like the x86 backend). This changes the code generated for ppc static mode, but guess what, we were generating this before: .byte 0x9B ; Personality (indirect pcrel sdata4) .long ___gxx_personality_v0-. ; Personality which is not correct! (it is not an 'indirect' reference). llvm-svn: 81965
* eliminate the horrid AsmPrinter::getGlobalLinkName method, inliningChris Lattner2009-09-164-21/+4
| | | | | | it into all of its call sites and simplifying them. llvm-svn: 81962
* simplify some codeChris Lattner2009-09-161-6/+5
| | | | llvm-svn: 81961
* Fix a typo in a FIXMEDouglas Gregor2009-09-161-1/+1
| | | | llvm-svn: 81960
* Expand all v2f64 arithmetic operations for Neon.Bob Wilson2009-09-151-0/+27
| | | | | | | Radar 7200803. (This should also fix the SingleSource/UnitTests/Vector/sumarray-dbl test.) llvm-svn: 81959
* Put back non-obsolete -f sections for 'opt'.Daniel Dunbar2009-09-151-0/+6
| | | | llvm-svn: 81954
* Added far return instructions (that is, returns to Sean Callanan2009-09-151-0/+4
| | | | | | | code in other segments) to the Intel instruction tables. llvm-svn: 81953
* remove some horrible MAI hooks which fortunately turn out to be always empty.Chris Lattner2009-09-153-50/+3
| | | | llvm-svn: 81946
* Back to 1.1 we go.Mike Stump2009-09-153-4/+4
| | | | llvm-svn: 81944
* In building list of visible conversion functions, useFariborz Jahanian2009-09-151-2/+2
| | | | | | result type of template convesion functions. llvm-svn: 81943
* strength reduce a call to PrintRelDirective(true).Chris Lattner2009-09-151-1/+3
| | | | llvm-svn: 81942
* Back out for now, as apparently there is some really broken code somewhere.Mike Stump2009-09-151-1/+1
| | | | llvm-svn: 81941
* add hooks to hang target-specific goop off MachineModuleInfo,Chris Lattner2009-09-154-17/+47
| | | | | | | move MachineFunctionInfo virtual method out of line to give it a home. llvm-svn: 81940
* When implicitly declaring operators new, new[], delete, and delete[],Douglas Gregor2009-09-157-25/+126
| | | | | | | | | | | | give them the appropriate exception specifications. This, unfortunately, requires us to maintain and/or implicitly generate handles to namespace "std" and the class "std::bad_alloc". However, every other approach I've come up with was more hackish, and this standard requirement itself is quite the hack. Fixes PR4829. llvm-svn: 81939
* Update Clang version for CMakeDouglas Gregor2009-09-151-2/+3
| | | | llvm-svn: 81938
* Do not add the SVOffset to the Node CSE ID. The same pointer argument ↵Nate Begeman2009-09-151-5/+0
| | | | | | | | cannot have different SVOffsets. llvm-svn: 81937
* 1) don't do overload resolution in selecting conversionFariborz Jahanian2009-09-154-36/+30
| | | | | | | | to pointer function for delete expression. 2) Treat type conversion function and its 'const' version as identical in building the visible conversion list. llvm-svn: 81930
* Bump.Mike Stump2009-09-151-2/+14
| | | | llvm-svn: 81929
* Expand on comment.Eric Christopher2009-09-151-1/+4
| | | | llvm-svn: 81928
* Be sure to use the correct version instead of the wrong one.Mike Stump2009-09-151-1/+2
| | | | llvm-svn: 81925
* Be sure to use the correct version instead of inventing the wrong one.Mike Stump2009-09-151-1/+2
| | | | llvm-svn: 81924
* Updated comments per Eli's suggestion.Sean Callanan2009-09-152-2/+4
| | | | llvm-svn: 81923
* Add back the workaround since it lead to constructor conversion bugs :(Anders Carlsson2009-09-152-0/+22
| | | | llvm-svn: 81917
* Commit test case from PR4655, which tests the canonical-types fix in r81913Douglas Gregor2009-09-151-0/+5
| | | | llvm-svn: 81916
* Convert more tests to FileCheck.Bob Wilson2009-09-156-45/+153
| | | | llvm-svn: 81915
* Added register-to-register ADD instructions to theSean Callanan2009-09-152-0/+13
| | | | | | | | Intel tables, where the source operand is specified by the R/M field and the destination operand by the Reg field. llvm-svn: 81914
* Make sure we're comparing the canonical types when we determineDouglas Gregor2009-09-151-2/+3
| | | | | | | | | whether a constructor is a copy constructor. Sadly, I wasn't able to get down to a test case smaller than libstdc++'s <string>. llvm-svn: 81913
* Drop the raw_ostream required buffer size to 1.Daniel Dunbar2009-09-153-3/+13
| | | | | | | - As best I can tell, we have eliminated all the code which used to require a larger buffer size. llvm-svn: 81912
* Remove references to obsolete -f option.Daniel Dunbar2009-09-152-12/+0
| | | | llvm-svn: 81911
* Update llc/opt PODs to clarify they support .ll input.Daniel Dunbar2009-09-152-17/+19
| | | | llvm-svn: 81910
* Fix -Asserts warning.Daniel Dunbar2009-09-151-1/+2
| | | | llvm-svn: 81909
* - clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, ↵Steve Naroff2009-09-154-16/+45
| | | | | | | | | CXCursor_NoDeclFound). - Add predicate clang_isInvalid(). - Implement clang_getCursorFromDecl(). llvm-svn: 81908
* When printing an overload candidate that is a function template specialization,Douglas Gregor2009-09-153-0/+18
| | | | | | | | | | point at the template and print out its template arguments, e.g., ambiguous-ovl-print.cpp:5:8: note: candidate function template specialization [with T = int] void f(T*, long); llvm-svn: 81907
* lit: When finding nested test suites, check first in the execpath in case thereDaniel Dunbar2009-09-151-13/+22
| | | | | | is a site configuration. llvm-svn: 81902
* Issue good diagnostics when initialization failes due toFariborz Jahanian2009-09-156-27/+56
| | | | | | ambiguity in type conversion function selection. llvm-svn: 81898
* Better solution for tracking both the original alignment of the access, and ↵Nate Begeman2009-09-155-71/+55
| | | | | | | | the current alignment based on the source value offset. This avoids increasing the size of mem nodes. llvm-svn: 81897
* Correct comment pastoJim Grosbach2009-09-151-1/+1
| | | | llvm-svn: 81896
* Added a new register class for segment registersSean Callanan2009-09-153-0/+25
| | | | | | | | to the Intel register table. Added 16- and 64-bit MOVs to and from the segment registers to the Intel instruction tables. llvm-svn: 81895
* Change the marker byte for stubs from 0xcd to 0xce (another form ofDale Johannesen2009-09-151-3/+6
| | | | | | | | | interrupt instruction, which shouldn't arise any other way). 0xcd is also used by JITMemoryManager to initialize the buffer to garbage, which means it could appear following a noreturn call even when that is not a stub, confusing X86CompilationCallback2. PR 4929. llvm-svn: 81888
* fix PR4984 by ensuring that fastisel adds properly sign extended GEP ↵Chris Lattner2009-09-152-3/+23
| | | | | | | | displacement values to machineinstrs. llvm-svn: 81886
* Add an assertion and a test case, in a fruitless attempt to track down an ↵Douglas Gregor2009-09-152-0/+23
| | | | | | existing bug llvm-svn: 81885
* rename testChris Lattner2009-09-151-0/+0
| | | | llvm-svn: 81884
* convert to filecheckChris Lattner2009-09-151-4/+20
| | | | llvm-svn: 81882
* add missing fileChris Lattner2009-09-151-0/+32
| | | | llvm-svn: 81881
* Handle AddrMode4 for Thumb2 in rewriteT2FrameIndex. This occurs forBob Wilson2009-09-151-0/+5
| | | | | | | | | | | VLDM/VSTM instructions, and without this check, the code assumes that an offset is allowed, as it would be with VLDR/VSTR. The asm printer, however, silently drops the offset, producing incorrect code. Since the address register in this case is either the stack or frame pointer, the spill location ends up conflicting with some other stack slot or with outgoing arguments on the stack. llvm-svn: 81879
* Fix superreg use in ARMAsmPrinter. Approved by Anton Korobeynikov.Sandeep Patel2009-09-152-2/+43
| | | | llvm-svn: 81878
* several major improvements to the sparc backend: support for weak linkageChris Lattner2009-09-1510-48/+212
| | | | | | and PIC codegen. Patch by Venkatraman Govindaraju! llvm-svn: 81877
* Fix static analyzer regression when emitting undefined value warningsTed Kremenek2009-09-151-9/+16
| | | | | | | with binary operators. The result of a binary operator may be undefined even if its operands are well-defined. llvm-svn: 81874
OpenPOWER on IntegriCloud