- Jan 22, 2015
-
-
Zachary Turner authored
This reverts commit r226679. For some reason it was not generating the same behavior as manually specifying the include dir, library path, and exe path, and it was causing the test suite to fail to run. llvm-svn: 226683
-
Matt Arsenault authored
This fixes it for SI. It also removes the pattern used previously for Evergreen for f32. I'm not sure if the the new R600 output is better or not, but it uses 1 fewer instructions if BFI is available. llvm-svn: 226682
-
Colin LeMahieu authored
llvm-svn: 226681
-
Daniel Jasper authored
llvm-svn: 226680
-
Zachary Turner authored
CMake FindPythonLibs will look for multiple versions of Python including both debug and release, and build up a list such as (debug <debugpath> optimized <optimizedpath>). This confuses the logic we have in CMake to copy the correct python dll to the output directory so that it need not be in your system's PATH. To alleviate this, we manually split this list and extract out the debug and release versions of the python library, and copy only the correct one to the output directory. llvm-svn: 226679
-
Daniel Jasper authored
Discovered by the awesome test case and ASAN. llvm-svn: 226678
-
Rafael Espindola authored
llvm-svn: 226677
-
Ahmed Bougacha authored
Now that we can fully specify extload legality, we can declare them legal for the PMOVSX/PMOVZX instructions. This for instance enables a DAGCombine to fire on code such as (and (<zextload-equivalent> ...), <redundant mask>) to turn it into: (zextload ...) as seen in the testcase changes. There is one regression, in widen_load-2.ll: we're no longer able to do store-to-load forwarding with illegal extload memory types. This will be addressed separately. Differential Revision: http://reviews.llvm.org/D6533 llvm-svn: 226676
-
Rafael Espindola authored
llvm-svn: 226675
-
Evgeniy Stepanov authored
Fixes 2 issues in origins arising from realloc() calls: * In the in-place grow case origin for the new memory is not set at all. * In the copy-realloc case __msan_memcpy is used, which unwinds stack from inside the MSan runtime. This does not generally work (as we may be built w/o frame pointers), and produces "bad" stack trace anyway, with several uninteresting (internal) frames on top. This change also makes realloc() honor "zeroise" and "poison_in_malloc" flags. See https://code.google.com/p/memory-sanitizer/issues/detail?id=73. llvm-svn: 226674
-
Evgeniy Stepanov authored
Move a bunch of functions to a new source file and rename some of them for consistency. No functional changes. llvm-svn: 226673
-
Eric Fiselier authored
llvm-svn: 226672
-
George Burgess IV authored
llvm-svn: 226671
-
Francisco Lopes da Silva authored
The improved completion in call context now works with: - Functions. - Member functions. - Constructors. - New expressions. - Function call expressions. - Template variants of the previous. There are still rough edges to be fixed: - Provide support for optional parameters. (fix known) - Provide support for member initializers. (fix known) - Provide support for variadic template functions. (fix unknown) - Others? llvm-svn: 226670
-
Yaron Keren authored
llvm-svn: 226669
-
Rafael Espindola authored
Should fix the test in -Asserts builds. llvm-svn: 226668
-
Rafael Espindola authored
llvm-svn: 226667
-
Rafael Espindola authored
llvm-svn: 226666
-
- Jan 21, 2015
-
-
Tim Northover authored
It hadn't gone through review yet, but was still on my local copy. This reverts commit r226663 llvm-svn: 226665
-
Tim Northover authored
AAPCS64 says that it's up to the platform to specify whether x18 is reserved, and a first step on that way is to add a flag controlling it. From: Andrew Turner <andrew@fubar.geek.nz> llvm-svn: 226664
-
Tim Northover authored
llvm-svn: 226663
-
Rafael Espindola authored
llvm-svn: 226662
-
Michael Kuperstein authored
llvm-svn: 226661
-
Alexander Potapenko authored
When opt is compiled with AddressSanitizer it takes more than 30 seconds to unroll the loop in unroll_1M(). llvm-svn: 226660
-
Dmitry Vyukov authored
Even sleep(1) lead to episodical flakes on some machines. Use an invisible by tsan barrier to enforce required execution order instead. This makes the tests deterministic and faster. llvm-svn: 226659
-
Evgeniy Stepanov authored
Previously we always stored 4 bytes of origin at the destination address even for 8-byte (and longer) stores. This should fix rare missing, or incorrect, origin stacks in MSan reports. llvm-svn: 226658
-
Jozef Kolek authored
Implement microMIPS 16-bit unconditional branch instruction B. Implemented 16-bit microMIPS unconditional instruction has real name B16, and B is an alias which expands to either B16 or BEQ according to the rules: b 256 --> b16 256 # R_MICROMIPS_PC10_S1 b 12256 --> beq $zero, $zero, 12256 # R_MICROMIPS_PC16_S1 b label --> beq $zero, $zero, label # R_MICROMIPS_PC16_S1 Differential Revision: http://reviews.llvm.org/D3514 llvm-svn: 226657
-
Jozef Kolek authored
Differential Revision: http://reviews.llvm.org/D6582 llvm-svn: 226656
-
Chandler Carruth authored
Because in its primary function pass the combiner is run repeatedly over the same function until doing so produces no changes, it is essentially to not re-allocate the worklist. However, as a utility, the more common pattern would be to put a limited set of instructions in the worklist rather than the entire function body. That is also the more likely pattern when used by the new pass manager. The result is a very light weight combiner that does the visiting with a separable worklist. This can then be wrapped up in a helper function for users that want a combiner utility, or as I have here it can be wrapped up in a pass which manages the iterations used when combining an entire function's instructions. Hopefully this removes some of the worst of the interface warts that became apparant with the last patch here. However, there is clearly more work. I've again left some FIXMEs for the most egregious. The ones that stick out to me are the exposure of the worklist and IR builder as public members, and the use of pointers rather than references. However, fixing these is likely to be much more mechanical and less interesting so I didn't want to touch them in this patch. llvm-svn: 226655
-
Chandler Carruth authored
SimplifyLibCalls utility by sinking it into the specific call part of the combiner. This will avoid us needing to do any contortions to build this object in a subsequent refactoring I'm doing and seems generally better factored. We don't need this utility everywhere and it carries no interesting state so we might as well build it on demand. llvm-svn: 226654
-
David Majnemer authored
We didn't consider any alignment attributes on an EnumDecl when calculating alignment. While we are here, ignore alignment specifications on typedef types if one is used as the underlying type. Otherwise, weird things happen: enum Y : int; Y y; typedef int __attribute__((aligned(64))) u; enum Y : u {}; What is the alignment of 'Y'? It would be more consistent with the overall design of enums with fixed underlying types to consider the underlying type's UnqualifiedDesugaredType. This fixes PR22279. llvm-svn: 226653 -
Vladimir Medic authored
[Mips][Disassembler]When disassembler meets load/store from coprocessor 2 instructions for mips r6 it crashes as the access to operands array is out of range. This patch adds dedicated decoder method that properly handles decoding of these instructions. llvm-svn: 226652
-
Alexander Potapenko authored
llvm-svn: 226651
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D7083 llvm-svn: 226650
-
Viktor Kutuzov authored
Committed unreviewed with permission. llvm-svn: 226649
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D6968 llvm-svn: 226648
-
Craig Topper authored
[x86] Remove some unnecessary and slightly confusing typecasts from some patterns. I think it actually went i32->iPtr->i32 in some of these cases. llvm-svn: 226647
-
Craig Topper authored
llvm-svn: 226646
-
Craig Topper authored
This makes the assembler check their size and removes a hack from the disassembler to avoid sign extending the immediate. llvm-svn: 226645
-
Dmitry Vyukov authored
MemoryAccess function consumes ~4K of stack in debug mode, in significant part due to the unrolled loop. And gtest gives only 4K of stack to death test threads, which causes stack overflows in debug mode. llvm-svn: 226644
-