| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | SROA: Simplify code. No functionality change. | Benjamin Kramer | 2012-10-20 | 1 | -9/+2 |
| | | | | | llvm-svn: 166375 | ||||
| * | InstCombine: Fix an edge case where constant icmps could sneak into ↵ | Benjamin Kramer | 2012-10-20 | 2 | -0/+38 |
| | | | | | | | | | ConstantFoldInstOperands and crash. Have to refactor the ConstantFolder interface one day to define bugs like this away. Fixes PR14131. llvm-svn: 166374 | ||||
| * | Vectorize: teach cavVectorizeMemory to distinguish between A[i]+=x and ↵ | Nadav Rotem | 2012-10-20 | 3 | -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 | ||||
| * | Fix a typo | Nadav Rotem | 2012-10-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 166367 | ||||
| * | Vectorizer: refactor the memory checks to a new function. No functionality ↵ | Nadav Rotem | 2012-10-20 | 1 | -33/+51 |
| | | | | | | | change. llvm-svn: 166366 | ||||
| * | Vectorization docs. | Nadav Rotem | 2012-10-20 | 1 | -3/+5 |
| | | | | | llvm-svn: 166364 | ||||
| * | [ms-inline asm] Rename AsmOpRewrite to just AsmRewrite to be more generic. ↵ | Chad Rosier | 2012-10-20 | 1 | -13/+13 |
| | | | | | | | No functional change intended. llvm-svn: 166360 | ||||
| * | [ms-inline asm] If the state of the parser is ignore, then don't parse the | Chad Rosier | 2012-10-20 | 1 | -2/+25 |
| | | | | | | | inline assembly. Also make sure the remove the ignored statements from the IR. llvm-svn: 166357 | ||||
| * | LoopVectorize: Keep the IRBuilder on the stack. | Nadav Rotem | 2012-10-19 | 1 | -40/+35 |
| | | | | | llvm-svn: 166354 | ||||
| * | [ms-inline asm] Continue parsing even when we're in an ignore block. | Chad Rosier | 2012-10-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 166352 | ||||
| * | Vectorizer: Add support for loop reductions. | Nadav Rotem | 2012-10-19 | 4 | -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 Yang | 2012-10-19 | 2 | -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 Rosier | 2012-10-19 | 2 | -4/+6 |
| | | | | | llvm-svn: 166349 | ||||
| * | [mips] Use 64-bit registers to return an sret pointer if target ABI is N64. | Akira Hatanaka | 2012-10-19 | 2 | -2/+18 |
| | | | | | llvm-svn: 166344 | ||||
| * | Grammar-o. | Eric Christopher | 2012-10-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 166343 | ||||
| * | [mips] Add code to do tail call optimization. | Akira Hatanaka | 2012-10-19 | 3 | -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 Hatanaka | 2012-10-19 | 1 | -5/+11 |
| | | | | | llvm-svn: 166341 | ||||
| * | revert r166264 because the LTO build is still failing | Nadav Rotem | 2012-10-19 | 6 | -101/+92 |
| | | | | | llvm-svn: 166340 | ||||
| * | [mips] Delete MipsFunctionInfo::MaxCallFrameSize which is no longer used. | Akira Hatanaka | 2012-10-19 | 2 | -10/+1 |
| | | | | | llvm-svn: 166339 | ||||
| * | [mips] Add tail call instructions. | Akira Hatanaka | 2012-10-19 | 2 | -0/+12 |
| | | | | | llvm-svn: 166338 | ||||
| * | [mips] Make the branch nodes used in jump instructions a template parameter. | Akira Hatanaka | 2012-10-19 | 1 | -10/+21 |
| | | | | | llvm-svn: 166337 | ||||
| * | Add node and enum for mips tail call. | Akira Hatanaka | 2012-10-19 | 3 | -0/+8 |
| | | | | | llvm-svn: 166318 | ||||
| * | [ms-inline asm] Have the TargetParser callback to Sema to determine the size of | Chad Rosier | 2012-10-19 | 3 | -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 | ||||
| * | Add 'IntrNoReturn' for longjmp intrinsics | Michael Liao | 2012-10-19 | 1 | -3/+3 |
| | | | | | llvm-svn: 166314 | ||||
| * | SimplifyLibcalls: The return value of ffsll is always i32, even when the ↵ | Benjamin Kramer | 2012-10-19 | 2 | -5/+14 |
| | | | | | | | | | input is zero. Fixes PR13028. llvm-svn: 166313 | ||||
| * | Fix a build error for ocaml bindings that was introduced with the TargetData ↵ | Micah Villmow | 2012-10-19 | 1 | -1/+1 |
| | | | | | | | --> DataLayout changes. llvm-svn: 166309 | ||||
| * | [ms-inline asm] Add a MCAsmParserSemaCallback to the TargetAsmParser. | Chad Rosier | 2012-10-19 | 1 | -0/+8 |
| | | | | | llvm-svn: 166308 | ||||
| * | lit: Rename the valgrind leaks feature to match what is currently used | Daniel Dunbar | 2012-10-19 | 2 | -2/+2 |
| | | | | | | | (vg_leak). llvm-svn: 166306 | ||||
| * | lit: Remove support for XTARGET. | Daniel Dunbar | 2012-10-19 | 5 | -28/+15 |
| | | | | | | | | | - The XTARGET feature (inherited from old DG tests) was just confusing (and barely ever used). The same effect can now be achieved with a combination of the more useful REQUIRES and XFAIL. llvm-svn: 166305 | ||||
| * | lit: Add 'valgrind' and 'valgrind-leaks' features when valgrind is used. | Daniel Dunbar | 2012-10-19 | 5 | -5/+26 |
| | | | | | | | - These can be used with the XFAIL options. llvm-svn: 166303 | ||||
| * | tests: Stop mangling '-vg' into the triple, we don't use this currently. | Daniel Dunbar | 2012-10-19 | 1 | -4/+0 |
| | | | | | | | - Also, lit is going to get a valgrind feature, instead. llvm-svn: 166302 | ||||
| * | This patch is to fix radar://8426430. It is about llvm support of ↵ | Shuxin Yang | 2012-10-19 | 6 | -6/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | __builtin_debugtrap() which is supposed to consistently raise SIGTRAP across all systems. In contrast, __builtin_trap() behave differently on different systems. e.g. it raises SIGTRAP on ARM, and SIGILL on X86. The purpose of __builtin_debugtrap() is to consistently provide "trap" functionality, in the mean time preserve the compatibility with on gcc on __builtin_trap(). The X86 backend is already able to handle debugtrap(). This patch is to: 1) make front-end recognize "__builtin_debugtrap()" (emboddied in the one-line change to Clang). 2) In DAG legalization phase, by default, "debugtrap" will be replaced with "trap", which make the __builtin_debugtrap() "available" to all existing ports without the hassle of changing their code. 3) If trap-function is specified (via -trap-func=xyz to llc), both __builtin_debugtrap() and __builtin_trap() will be expanded into the function call of the specified trap function. This behavior may need change in the future. The provided testing-case is to make sure 2) and 3) are working for ARM port, and we already have a testing case for x86. llvm-svn: 166300 | ||||
| * | [ms-inline asm] Add the isParsingInlineAsm() function to the MCAsmTargetParser. | Chad Rosier | 2012-10-19 | 2 | -1/+7 |
| | | | | | llvm-svn: 166292 | ||||
| * | Indvars: Don't recursively delete instruction during BB iteration. | Benjamin Kramer | 2012-10-19 | 2 | -3/+23 |
| | | | | | | | | This can invalidate the iterators leading to use after frees and crashes. Fixes PR12536. llvm-svn: 166291 | ||||
| * | Fix some doc-os. | Daniel Dunbar | 2012-10-19 | 1 | -2/+2 |
| | | | | | llvm-svn: 166290 | ||||
| * | lit: Propagate TERM variable in environment, some tools can do really obscure | Daniel Dunbar | 2012-10-19 | 1 | -0/+1 |
| | | | | | | | odd things if this is missing. llvm-svn: 166289 | ||||
| * | Lower BUILD_VECTOR to SHUFFLE + INSERT_VECTOR_ELT for X86 | Michael Liao | 2012-10-19 | 3 | -1/+96 |
| | | | | | | | | | | - If INSERT_VECTOR_ELT is supported (above SSE2, either by custom sequence of legal insn), transform BUILD_VECTOR into SHUFFLE + INSERT_VECTOR_ELT if most of elements could be built from SHUFFLE with few (so far 1) elements being inserted. llvm-svn: 166288 | ||||
| * | SCEVExpander: Don't crash when trying to merge two constant phis. | Benjamin Kramer | 2012-10-19 | 3 | -1/+38 |
| | | | | | | | Just constant fold them so they can't cause any trouble. Fixes PR12627. llvm-svn: 166286 | ||||
| * | [ASan] Support comments in ASan/TSan blacklist file as lines starting with # | Alexey Samsonov | 2012-10-19 | 2 | -0/+5 |
| | | | | | llvm-svn: 166283 | ||||
| * | Move SplitBlockAndInsertIfThen to BasicBlockUtils. | Evgeniy Stepanov | 2012-10-19 | 3 | -35/+68 |
| | | | | | llvm-svn: 166278 | ||||
| * | LoopVectorize: Keep the IRBuilder on the stack. | Benjamin Kramer | 2012-10-19 | 1 | -41/+36 |
| | | | | | | | No functionality change. llvm-svn: 166274 | ||||
| * | ARM: | Stepan Dyatkovskiy | 2012-10-19 | 3 | -12/+49 |
| | | | | | | | | | Removed extra stack frame object for fixed byval arguments, VarArgsStyleRegisters invocation was reworked due to some improper usage in past. PR14099 also demonstrates it. llvm-svn: 166273 | ||||
| * | Pacify -Wnon-virtual-dtor. | Nick Lewycky | 2012-10-19 | 2 | -0/+3 |
| | | | | | llvm-svn: 166270 | ||||
| * | [asan] make sure asan erases old unused allocas after it created a new one. ↵ | Kostya Serebryany | 2012-10-19 | 2 | -0/+24 |
| | | | | | | | This became important after the recent move from ModulePass to FunctionPass because no cleanup is happening after asan pass any more. llvm-svn: 166267 | ||||
| * | recommit the patch that makes LSR and LowerInvoke use the TargetTransform ↵ | Nadav Rotem | 2012-10-19 | 6 | -92/+101 |
| | | | | | | | interface. llvm-svn: 166264 | ||||
| * | Simplify condition checking as CONCAT assume all inputs of the same type. | Michael Liao | 2012-10-19 | 1 | -3/+3 |
| | | | | | llvm-svn: 166260 | ||||
| * | vectorizer: Add support for reading and writing from the same memory location. | Nadav Rotem | 2012-10-19 | 2 | -2/+44 |
| | | | | | llvm-svn: 166255 | ||||
| * | Reapply the TargerTransformInfo changes, minus the changes to LSR and ↵ | Nadav Rotem | 2012-10-18 | 38 | -225/+720 |
| | | | | | | | Lowerinvoke. llvm-svn: 166248 | ||||
| * | cleanup the comment. | Nadav Rotem | 2012-10-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 166247 | ||||
| * | Fix case for include of Compiler.h. | Jordan Rose | 2012-10-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 166243 | ||||

