- Sep 18, 2016
-
-
Ron Lieberman authored
Added BoundaryNode check to isBestZeroLatency function. llvm-svn: 281825
-
Matt Arsenault authored
We were trying to avoid using a FrameIndex operand in non-pointer operands in a convoluted way, and would break because of using TargetFrameIndex. The TargetFrameIndex should only be used in the case where it makes sense to fold it as part of the addressing mode, otherwise it requires materialization like a normal constant. This wasn't working reliably and failed in the added testcase, hitting the assert when processing the frame index. The TargetFrameIndex was coming from trying to produce an AssertZext limiting the maximum stack size. I'm not sure this was correct to begin with, because it is apparently possible to have a single workitem dispatch that requires all 4G of private memory. llvm-svn: 281824
-
- Sep 17, 2016
-
-
Matt Arsenault authored
llvm-svn: 281823
-
Matt Arsenault authored
This reduces the number of copies and reg_sequences when using fp constant vectors. This significantly reduces the code size in local-stack-alloc-bug.ll llvm-svn: 281822
-
Kuba Brecka authored
llvm-svn: 281821
-
Kuba Brecka authored
llvm-svn: 281820
-
Eric Liu authored
When replacements have the same offset, make replacements with smaller length order first in the set. Summary: No behavioral change intended. The change makes iterating the replacements set more intuitive in Replacements class implementation. Previously, insertion is ordered before an deletion/replacement with the same offset, which is counter-intuitive for implementation, especially for a followup patch to support adding insertions around replacements. With the current ordering, we only need to make `applyAllReplacements` iterate the replacements set reversely when applying them so that deletion/replacement is still applied before insertion with the same offset. Reviewers: klimek, djasper Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D24663 llvm-svn: 281819
-
George Rimar authored
It was possible situation about some commands just were not processed (were skipped) because of a bug appeared when constraint checking used. Testcase is attached. llvm-svn: 281818
-
George Rimar authored
llvm-svn: 281817
-
Daniel Jasper authored
llvm-svn: 281816
-
Kuba Brecka authored
Currently, when doing a ASanified build of LLVM (with Clang, compiler-rt and libcxx) via -DLLVM_USE_SANITIZER=Address and not using any other options, we already disable building of sanitizer runtimes (because they themselves can’t be sanitized) and also exclude the sanitizer tests. However, the same is not done for the profiling runtime, which will build fine, but then all the tests fail due to linking errors. Let’s disable the profiling runtime as well (when LLVM_USE_SANITIZER is set). Differential Revision: https://reviews.llvm.org/D24657 llvm-svn: 281815
-
Kostya Serebryany authored
[libFuzzer] properly reset the guards when reseting the coverage. Also try to fix check-fuzzer on the bot llvm-svn: 281814
-
Mehdi Amini authored
The ValueSymbolTable is used to detect name conflict and rename instructions automatically. This is not needed when the value names are automatically discarded by the LLVMContext. No functional change intended, just saving a little bit of memory. This is a recommit of r281806 after fixing the accessor to return a pointer instead of a reference and updating all the call-sites. llvm-svn: 281813
-
Mehdi Amini authored
Last-second refactoring before push was bad idea... llvm-svn: 281812
-
Mehdi Amini authored
This is in line with the LLParser behavior llvm-svn: 281811
-
Kostya Serebryany authored
llvm-svn: 281810
-
Kostya Serebryany authored
llvm-svn: 281809
-
Mehdi Amini authored
This reverts commit r281806. It introduces undefined behavior as an API is returning a reference to the Symtab llvm-svn: 281808
-
Mehdi Amini authored
The ValueSymbolTable is used to detect name conflict and rename instructions automatically. This is not needed when the value names are automatically discarded by the LLVMContext. No functional change intended, just saving a little bit of memory. llvm-svn: 281806
-
Rui Ueyama authored
llvm-svn: 281805
-
Zachary Turner authored
llvm-svn: 281804
-
Rui Ueyama authored
It is important to give members names for readability. llvm-svn: 281803
-
Rui Ueyama authored
llvm-svn: 281802
-
Rui Ueyama authored
llvm-svn: 281801
-
Matt Arsenault authored
VI added eq/ne for i64, so use them. llvm-svn: 281800
-
Zachary Turner authored
Where possible, remove the const char* version. To keep the risk and impact here minimal, I've only done the simplest functions. In the process, I found a few opportunities for adding some unit tests, so I added those as well. Tested on Windows, Linux, and OSX. llvm-svn: 281799
-
Saleem Abdulrasool authored
This refactors the cstring literal creation as mentioned in the couple of FIXMEs littered in the various invocations to CreateMetadataVar. This centralises the definition of the literals, and will enable changing the literal creation to a single site. NFC. llvm-svn: 281798
-
Richard Smith authored
* recurse through intermediate LabelStmts and AttributedStmts when checking whether a statement inside a switch declares a variable * if the end of a compound statement is reachable from the chosen case label, and the compound statement contains a variable declaration, it's not valid to just emit the contents of the compound statement -- we must emit the statement itself or we lose the scope (and thus end lifetimes at the wrong point) llvm-svn: 281797
-
Peter Collingbourne authored
llvm-svn: 281796
-
Rui Ueyama authored
llvm-svn: 281795
-
Rafael Espindola authored
llvm-svn: 281794
-
Tom Stellard authored
llvm-svn: 281793
-
Tom Stellard authored
llvm-svn: 281792
-
Tom Stellard authored
llvm-svn: 281791
-
Peter Collingbourne authored
llvm-svn: 281790
-
Tom Stellard authored
Summary: i8, i16, and f16 values are not extended to 32-bit in the HSA kernel ABI. Reviewers: arsenm Subscribers: arsenm, kzhuravl, wdng, nhaehnle, llvm-commits, yaxunl Differential Revision: https://reviews.llvm.org/D24621 llvm-svn: 281789
-
Chris Bieneman authored
This supports creating symlinks to tools in different directories than the tool is built to. This is useful for the LLDB framework build which I’m sending patches for shortly. llvm-svn: 281788
-
Sanjay Patel authored
As discussed on llvm-dev ( http://lists.llvm.org/pipermail/llvm-dev/2016-August/104210.html ): turn a vector select with constant condition operand into a shuffle as a canonicalization step. Shuffles may be easier to reason about in conjunction with other shuffles and insert/extract. Possible known (minor?) regressions from this change are filed as: https://llvm.org/bugs/show_bug.cgi?id=28530 https://llvm.org/bugs/show_bug.cgi?id=28531 https://llvm.org/bugs/show_bug.cgi?id=30371 If something terrible happens to perf after this commit, feel free to revert until a backend fix is in place. Differential Revision: https://reviews.llvm.org/D24279 llvm-svn: 281787
-
Matt Arsenault authored
These clean up some unnecessary or instructions in cases with complex loops. In the original testcase I noticed this, the same or with exec was repeated 5 or 6 times in a row. With this only one is emitted or sometimes a copy. llvm-svn: 281786
-
Peter Collingbourne authored
llvm-svn: 281785
-