summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the last crasher I've gotten a reproduction for in SROA. This oneChandler Carruth2012-09-182-0/+22
| | | | | | | | | | | from the dragonegg build bots when we turned on the full version of the pass. Included a much reduced test case for this pesky bug, despite bugpoint's uncooperative behavior. Also, I audited all the similar code I could find and didn't spot any other cases where this mistake cropped up. llvm-svn: 164178
* Add C/C++ header locations for the Freescale SDK.Hal Finkel2012-09-188-0/+28
| | | | | | | | | The Freescale SDK is based on OpenEmbedded, and this might be useful for other OpenEmbedded-based configurations as well. With minor modifications, patch by Tobias von Koch! llvm-svn: 164177
* Add e500mc and e5500 to the list of valid PPC CPU names.Hal Finkel2012-09-183-0/+21
| | | | | | Patch by Tobias von Koch! llvm-svn: 164176
* Test commitSean Silva2012-09-181-1/+1
| | | | llvm-svn: 164174
* New utility for expanding integer division for targets that don't support it.Michael Ilseman2012-09-183-0/+333
| | | | | | Implementation derived from compiler-rt's implementation of signed and unsigned integer division. llvm-svn: 164173
* <rdar://problem/12188843> Fixing a problem where a Python command created in ↵Enrico Granata2012-09-185-18/+40
| | | | | | the same module where the target function is defined causes the help string not to come out llvm-svn: 164172
* Fix a small bug in the way we handle builtin candidates forEli Friedman2012-09-183-26/+40
| | | | | | relational operators of enumeration type. From the gcc testsuite. llvm-svn: 164171
* I've added Apple-only behavior that looks for libstdc++ in the same process ↵Howard Hinnant2012-09-181-6/+44
| | | | | | and if found, checks the string stored in <stdexcept> exception objects to see if it is the gcc empty string singleton before manipulating the reference count. This is done so that if such an exception is created with a zero-length string in libstdc++, libc++abi won't try to delete the memory. This is part of a ongoing process to make libc++ exceptions ABI-compatible with libstdc++-4.2 exceptions, to the point that each library can catch exceptions thrown by the other. If other parties would also like this behavior, the #if __APPLE__ can be broadened. llvm-svn: 164170
* MOVi16 (movw) is only legal on cpus with V6T2 support. rdar://12300648Evan Cheng2012-09-183-3/+16
| | | | llvm-svn: 164169
* Add an extra check for invalid decls in the lambda semantic analysis to ↵Eli Friedman2012-09-182-0/+12
| | | | | | avoid a crash. PR13860. llvm-svn: 164168
* Remove invalid double colon in test case was previously ignored by FileCheck.Benjamin Kramer2012-09-181-1/+1
| | | | llvm-svn: 164167
* FileCheck: Fix off-by-one bug that made CHECK-NOT: ignore the next character ↵Benjamin Kramer2012-09-183-3/+12
| | | | | | after the colon. llvm-svn: 164165
* Objective-C runtime class descriptors can nowSean Callanan2012-09-183-8/+120
| | | | | | | | | | | populate Clang ObjCInterfaceDecls with their ivars, methods, and properties. The default implementation does nothing. I have also made sure that AppleObjCRuntimeV2 creates ObjCInterfaceDecls that actually get queried appropriately. llvm-svn: 164164
* Add test for r164155 and remove two tests superseded by ppc64-calls.ll.Roman Divacky2012-09-183-32/+14
| | | | llvm-svn: 164162
* Add hidden flag to exclude aliases from output.Jan Sjödin2012-09-182-2/+31
| | | | llvm-svn: 164158
* Add a MapVector class. It provides a regular set iteration, butRafael Espindola2012-09-181-0/+153
| | | | | | also provides a insertion order iteration over the values. llvm-svn: 164157
* <rdar://problem/11398693> Making sure we do not attempt to run code on ↵Enrico Granata2012-09-181-3/+5
| | | | | | zombie objects when attempting to format them llvm-svn: 164156
* Fix the isLocalCall() by checking for linker weakness as well.Roman Divacky2012-09-181-1/+2
| | | | llvm-svn: 164155
* TargetSchedule: cleanup computeOperandLatency logic & diagnostics.Andrew Trick2012-09-181-6/+16
| | | | llvm-svn: 164154
* misched: Make ScheduleDAGInstrs use the TargetSchedule interface.Andrew Trick2012-09-181-16/+14
| | | | llvm-svn: 164153
* <rdar://problem/12219840>Greg Clayton2012-09-182-4/+27
| | | | | | Don't leak mach ports when calling "mach_thread_self()". llvm-svn: 164152
* Fix a potential issue where data formatters can get confused over malformed ↵Enrico Granata2012-09-181-1/+4
| | | | | | UUIDs llvm-svn: 164151
* Revert r164051.Akira Hatanaka2012-09-181-4/+0
| | | | llvm-svn: 164150
* <rdar://problem/12161825> Rephrase formatter for NSIndexSet in terms of ↵Enrico Granata2012-09-183-4/+4
| | | | | | indexes instead of objects llvm-svn: 164149
* Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. ↵Greg Clayton2012-09-1844-162/+169
| | | | | | Some platforms don't support this modification. llvm-svn: 164148
* LSR critical edge splitting fix for PR13756.Andrew Trick2012-09-182-14/+56
| | | | llvm-svn: 164147
* Fix getCommonType in a different way from the way I fixed it whenChandler Carruth2012-09-182-3/+3
| | | | | | | | | | | | working on FCA splitting. Instead of refusing to form a common type when there are uses of a subsection of the alloca as well as a use of the entire alloca, just skip the subsection uses and continue looking for a whole-alloca use with a type that we can use. This produces slightly prettier IR I think, and also fixes the other failure in the test. llvm-svn: 164146
* minor refactoring of my last check-in.Fariborz Jahanian2012-09-181-2/+2
| | | | llvm-svn: 164145
* <rdar://problem/11988289> Making C++ synthetic children provider for ↵Enrico Granata2012-09-187-8/+622
| | | | | | NSDictionary and related classes llvm-svn: 164144
* c: warn when an integer value comparison with anFariborz Jahanian2012-09-189-47/+262
| | | | | | | | integral expression have the obvious result. Patch reviewed by John McCall off line. // rdar://12202422 llvm-svn: 164143
* Fix build for compilers that don't understand injected class names properly.Benjamin Kramer2012-09-181-2/+2
| | | | llvm-svn: 164142
* Avoid symbol name clash when filling TOC.Roman Divacky2012-09-184-3/+42
| | | | | | Patch by Adhemerval Zanella. llvm-svn: 164141
* SROA: Use CRTP for OpSplitter to get rid of virtual dispatch and the ↵Benjamin Kramer2012-09-181-8/+7
| | | | | | virtual-dtor warnings that come with it. llvm-svn: 164140
* On PPC64 emit the environment pointer. Patch by Adhemerval Zanella.Roman Divacky2012-09-183-0/+4
| | | | llvm-svn: 164139
* Optimize local func calls to not emit nop for TOC restoration.Roman Divacky2012-09-182-2/+59
| | | | | | Patch by Adhemerval Zanella. llvm-svn: 164138
* Add PowerPC64 relocation definitions. Patch by Adhemerval Zanella!Roman Divacky2012-09-181-0/+15
| | | | llvm-svn: 164137
* SROA: Replace the member function template contraption for recursively ↵Benjamin Kramer2012-09-181-97/+105
| | | | | | | | splitting aggregates into a real class. No intended functionality change. llvm-svn: 164135
* Add test for r164132.Roman Divacky2012-09-181-0/+7
| | | | llvm-svn: 164134
* Follow up on llvm r164132.Roman Divacky2012-09-181-2/+2
| | | | llvm-svn: 164133
* When creating MCAsmBackend pass the CPU string as well. In X86AsmBackendRoman Divacky2012-09-1813-50/+71
| | | | | | | | | store this and use it to not emit long nops when the CPU is geode which doesnt support them. Fixes PR11212. llvm-svn: 164132
* Warn about self references in in-class initializers.Hans Wennborg2012-09-182-95/+128
| | | | | | | | | | | | | | This makes Clang warn about self references in in-class initializers, for example: struct S { int a = a + 42; }; This basically just moves UninitializedFieldVisitor up a bit in SemaDeclCXX.cpp, and adds a call to it from ActOnCXXInClassMemberInitializer. llvm-svn: 164131
* SROA.cpp: Appease msvc.NAKAMURA Takumi2012-09-181-1/+1
| | | | | | ...I don't know why this could appease msvc...baad. llvm-svn: 164130
* llvm/test/DebugInfo: Move two tests, 2010-04-13-PubType.ll and ↵NAKAMURA Takumi2012-09-182-0/+0
| | | | | | linkage-name.ll to X86. llvm-svn: 164129
* XFAIL SROA test until Chandler can get to it.Benjamin Kramer2012-09-181-0/+1
| | | | llvm-svn: 164128
* Fix isDerivedFrom matcher.Daniel Jasper2012-09-182-0/+11
| | | | | | | | | | | | | Without this patch, the isDerivedFrom matcher asserts in the "assert(ClassDecl != NULL);" in the new test, as a DependentTemplateSpecilizationType is not a sub-type of TemplateSpecializationType and also does not offer getAsCXXRecordDecl(). I am not sure why this did not cause problems before. It is now (after the changed implementation of isDerivedFrom) easier to write a matcher that actually gets into this branch of the code. llvm-svn: 164127
* Coding standards: fix typo: '= deleted' -> '= delete'.Dmitri Gribenko2012-09-181-2/+2
| | | | llvm-svn: 164126
* Make MachinePostDominatorTree::DT privateTom Stellard2012-09-181-2/+4
| | | | llvm-svn: 164125
* LNT builders have picked up new SROA, disable it to get the remaining ↵Benjamin Kramer2012-09-181-1/+1
| | | | | | builders green again. llvm-svn: 164124
* Add missing matcher for C-style cast expressions.Daniel Jasper2012-09-182-0/+24
| | | | | | Patch by Gábor Horváth. llvm-svn: 164123
* Disable some tests that fail when the x86 backend isn't built.Benjamin Kramer2012-09-182-0/+3
| | | | llvm-svn: 164122
OpenPOWER on IntegriCloud