summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SROA: Simplify code. No functionality change.Benjamin Kramer2012-10-201-9/+2
| | | | llvm-svn: 166375
* InstCombine: Fix an edge case where constant icmps could sneak into ↵Benjamin Kramer2012-10-202-0/+38
| | | | | | | | ConstantFoldInstOperands and crash. Have to refactor the ConstantFolder interface one day to define bugs like this away. Fixes PR14131. llvm-svn: 166374
* DR1473: Do not require a space between operator"" and the ud-suffix in aRichard Smith2012-10-205-14/+14
| | | | | | literal-operator-id. llvm-svn: 166373
* Rework implementation of DR1492: Apply the resolution to operator delete too,Richard Smith2012-10-208-42/+103
| | | | | | | | | | | | since it also has an implicit exception specification. Downgrade the error to an extwarn, since at least for operator delete, system headers like to declare it as 'noexcept' whereas the implicit definition does not have an explicit exception specification. Move the exception specification for user-declared 'operator delete' functions from the type-as-written into the type, to reflect reality and to allow us to detect whether there was an implicit exception spec or not. llvm-svn: 166372
* Vectorize: teach cavVectorizeMemory to distinguish between A[i]+=x and ↵Nadav Rotem2012-10-203-74/+235
| | | | | | | | | A[B[i]]+=x. If the pointer is consecutive then it is safe to read and write. If the pointer is non-loop-consecutive then it is unsafe to vectorize it because we may hit an ordering issue. llvm-svn: 166371
* Accept -Wno-arc-abi without warning for a while.Nico Weber2012-10-201-0/+2
| | | | | | | | | | | | | Xcode 4.5 passes -Wno-arc-abi to clang, which makes a clang newer than r163917 warn that it doesn't understand -Wno-arc-abi. I asked if adding this is ok at http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20121015/066433.html and nobody objected. Adding this makes life a bit easier for the chromium project. If you think this is a burden on for clang, shout, and I'll revert this. llvm-svn: 166370
* Fix __builtin_va_arg assertion failure in ARM AAPCS.Logan Chien2012-10-203-0/+68
| | | | llvm-svn: 166369
* Fixed a bug that caused floating-point valuesSean Callanan2012-10-201-15/+23
| | | | | | | | to be printed truncated. <rdar://problem/12389615> llvm-svn: 166368
* Fix a typoNadav Rotem2012-10-201-1/+1
| | | | llvm-svn: 166367
* Vectorizer: refactor the memory checks to a new function. No functionality ↵Nadav Rotem2012-10-201-33/+51
| | | | | | change. llvm-svn: 166366
* Also remove PlatformiOSSimulator::GetProcessInfo decl fromJason Molenda2012-10-201-4/+0
| | | | | | | the header file. (followup patch to Sean's commit of r166355 earlier today.) llvm-svn: 166365
* Vectorization docs.Nadav Rotem2012-10-201-3/+5
| | | | llvm-svn: 166364
* [analyzer] Assume 'new' never returns NULL if it could throw an exception.Jordan Rose2012-10-202-1/+83
| | | | | | | | | | | | | | | | | | | This is actually required by the C++ standard in [basic.stc.dynamic.allocation]p3: If an allocation function declared with a non-throwing exception-specification fails to allocate storage, it shall return a null pointer. Any other allocation function that fails to allocate storage shall indicate failure only by throwing an exception of a type that would match a handler of type std::bad_alloc. We don't bother checking for the specific exception type, but just go off the operator new prototype. This should help with a certain class of lazy initalization false positives. <rdar://problem/12115221> llvm-svn: 166363
* XTARGET was removed, update debug-info tests.Argyrios Kyrtzidis2012-10-209-18/+18
| | | | llvm-svn: 166362
* DR1472: A reference isn't odr-used if it has preceding initialization,Richard Smith2012-10-206-23/+46
| | | | | | | | | initialized by a reference constant expression. Our odr-use modeling still needs work here: we don't yet implement the 'set of potential results of an expression' DR. llvm-svn: 166361
* [ms-inline asm] Rename AsmOpRewrite to just AsmRewrite to be more generic. ↵Chad Rosier2012-10-201-13/+13
| | | | | | No functional change intended. llvm-svn: 166360
* When associating file ranges of macro arguments with theirArgyrios Kyrtzidis2012-10-204-40/+95
| | | | | | | | | | macro expansion ranges, make sure to check all the FileID entries that are contained in the spelling range of the expansion for the macro argument. Fixes rdar://12537982 llvm-svn: 166359
* [ms-inline asm] Update test case for r166357.Chad Rosier2012-10-201-1/+1
| | | | llvm-svn: 166358
* [ms-inline asm] If the state of the parser is ignore, then don't parse theChad Rosier2012-10-201-2/+25
| | | | | | inline assembly. Also make sure the remove the ignored statements from the IR. llvm-svn: 166357
* Improved logging for the SBTarget's launchingSean Callanan2012-10-201-4/+69
| | | | | | and attaching APIs. llvm-svn: 166356
* Fixed the iOS simulator platform:Sean Callanan2012-10-201-9/+1
| | | | | | | | | | - Fixed a crash when the executable module couldn't be found. - Fixed a problem that made it impossible to attach to processes in the simulator using the SBTarget::Attach. llvm-svn: 166355
* LoopVectorize: Keep the IRBuilder on the stack.Nadav Rotem2012-10-191-40/+35
| | | | llvm-svn: 166354
* [ms-inline asm] Test case for r166349 and r166352.Chad Rosier2012-10-191-0/+13
| | | | llvm-svn: 166353
* [ms-inline asm] Continue parsing even when we're in an ignore block.Chad Rosier2012-10-191-1/+1
| | | | llvm-svn: 166352
* Vectorizer: Add support for loop reductions.Nadav Rotem2012-10-194-111/+515
| | | | | | | | | For example: for (i=0; i<n; i++) sum += A[i] + B[i] + i; llvm-svn: 166351
* 1. Remove noreturn attribute from __builtin_debugtrap().Shuxin Yang2012-10-192-3/+3
| | | | | | | | (The change at Clang side was committed in r166345) 2. Cosmetic change in order to conform to coding standards. llvm-svn: 166350
* [ms-inline asm] Reset the opcode prior to parsing a statement.Chad Rosier2012-10-192-4/+6
| | | | llvm-svn: 166349
* [Options] Make Option non clang specific.Michael J. Spencer2012-10-195-37/+35
| | | | llvm-svn: 166348
* [Options] make Option a value type.Michael J. Spencer2012-10-199-99/+112
| | | | llvm-svn: 166347
* <rdar://problem/12491387>Greg Clayton2012-10-199-7/+403
| | | | | | | | | | Added commands to the KDP plug-in that allow sending raw commands through the KDP protocol. You specify a command byte and a payload as ASCII hex bytes, and the packet is created with a valid header/sequenceID/length and sent. The command responds with a raw ASCII hex string that contains all bytes in the reply including the header. An example of sending a read register packet for the GPR on x86_64: (lldb) process plugin packet send --command 0x07 --payload 0100000004000000 llvm-svn: 166346
* remove noreturn attribute from __builtin_debugtrapShuxin Yang2012-10-191-1/+1
| | | | llvm-svn: 166345
* [mips] Use 64-bit registers to return an sret pointer if target ABI is N64.Akira Hatanaka2012-10-192-2/+18
| | | | llvm-svn: 166344
* Grammar-o.Eric Christopher2012-10-191-1/+1
| | | | llvm-svn: 166343
* [mips] Add code to do tail call optimization.Akira Hatanaka2012-10-193-5/+144
| | | | | | | Currently, it is enabled only if option "enable-mips-tail-calls" is given and all of the callee's arguments are passed in registers. llvm-svn: 166342
* [mips] Fix TAILCALL's operand node type.Akira Hatanaka2012-10-191-5/+11
| | | | llvm-svn: 166341
* revert r166264 because the LTO build is still failingNadav Rotem2012-10-196-101/+92
| | | | llvm-svn: 166340
* [mips] Delete MipsFunctionInfo::MaxCallFrameSize which is no longer used.Akira Hatanaka2012-10-192-10/+1
| | | | llvm-svn: 166339
* [mips] Add tail call instructions.Akira Hatanaka2012-10-192-0/+12
| | | | llvm-svn: 166338
* [mips] Make the branch nodes used in jump instructions a template parameter.Akira Hatanaka2012-10-191-10/+21
| | | | llvm-svn: 166337
* Add node and enum for mips tail call.Akira Hatanaka2012-10-193-0/+8
| | | | llvm-svn: 166318
* [ms-inline asm] Update testcase for r166316.Chad Rosier2012-10-191-2/+12
| | | | llvm-svn: 166317
* [ms-inline asm] Have the TargetParser callback to Sema to determine the size ofChad Rosier2012-10-193-14/+70
| | | | | | | a memory operand. Retain this information and then add the sizing directives to the IR. This allows the backend to do proper instruction selection. llvm-svn: 166316
* Change the name of the variable used to detect if we are loading kexts to ↵Greg Clayton2012-10-191-6/+6
| | | | | | | | | "load-kexts" instead of "disable-kext-loading" since the value is a boolean. This was requested by the person who requested the feature. It now defaults to true: (lldb) settings show plugin.dynamic-loader.darwin-kernel.load-kexts plugin.dynamic-loader.darwin-kernel.load-kexts (boolean) = true llvm-svn: 166315
* Add 'IntrNoReturn' for longjmp intrinsicsMichael Liao2012-10-191-3/+3
| | | | llvm-svn: 166314
* SimplifyLibcalls: The return value of ffsll is always i32, even when the ↵Benjamin Kramer2012-10-192-5/+14
| | | | | | | | input is zero. Fixes PR13028. llvm-svn: 166313
* [ms-inline asm] Revert accidental commit. Sorry for the churn.Chad Rosier2012-10-191-24/+1
| | | | llvm-svn: 166312
* Pretty-print a ParenListExpr in a variable initializer correctly. Patch by ↵Eli Friedman2012-10-192-2/+10
| | | | | | Grzegorz Jablonski. llvm-svn: 166311
* [ms-inline asm] Set the SemaCallback in the TargetAsmParser.Chad Rosier2012-10-192-2/+27
| | | | llvm-svn: 166310
* Fix a build error for ocaml bindings that was introduced with the TargetData ↵Micah Villmow2012-10-191-1/+1
| | | | | | --> DataLayout changes. llvm-svn: 166309
* [ms-inline asm] Add a MCAsmParserSemaCallback to the TargetAsmParser.Chad Rosier2012-10-191-0/+8
| | | | llvm-svn: 166308
OpenPOWER on IntegriCloud