- Aug 05, 2015
-
-
JF Bastien authored
Revert "Fix MO's analyzePhysReg, it was confusing sub- and super-registers. Problem pointed out by Michael Hordijk." I mistakenly committed the patch for D6629, and was trying to commit another. Reverting until it gets proper signoff. llvm-svn: 244121
-
JF Bastien authored
Fix MO's analyzePhysReg, it was confusing sub- and super-registers. Problem pointed out by Michael Hordijk. llvm-svn: 244120
-
Chris Bieneman authored
llvm-svn: 244119
-
David Blaikie authored
llvm-svn: 244115
-
Cong Hou authored
Convert comments in MachineBasicBlock.h into new style. llvm-svn: 244113
-
David Blaikie authored
LoadedObjectInfo was depending on the implicit copy ctor in the presence of a user-declared dtor. Default (and protect) it in the base class and make the devired classes final to avoid any risk of a public API that would enable slicing. llvm-svn: 244112
-
Eric Christopher authored
llvm-svn: 244111
-
Yaron Keren authored
Twine + const char * is supported. llvm-svn: 244110
-
Rafael Espindola authored
We were printing an error but exiting with 0. Not sure how to test this. We could add a no-winlib feature, but that is probably not worth it. llvm-svn: 244109
-
Richard Diamond authored
Revert "Fix `llvm-config` to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components." It seems I was wrong thinking `autoconf`/`make` only installed shared libraries if configured with `--enable-shared`, even if `--disable-static` is present. I'll re-address with a followup patch. This reverts commit r243297 for causing PR#24154. llvm-svn: 244108
-
Rafael Espindola authored
It was not using LLVM_LIT_TOOLS_DIR and at least on my VM never finding lib.exe. With this all the COFF tests show up as supported and pass. llvm-svn: 244107
-
Rui Ueyama authored
Writer.h is intended to be included only by Writer.cpp and Driver.cpp. Use of the header in other files are bad. llvm-svn: 244106
-
Renato Golin authored
llvm-svn: 244105
-
James Dennett authored
No functional change. llvm-svn: 244104
-
Richard Diamond authored
llvm-svn: 244103
-
Rui Ueyama authored
I fed the same test to MSVC linker and got the same output, so I believe this implementation is correct. llvm-svn: 244102
-
Alexey Samsonov authored
Offset from vptr to the start of most-derived object can actually be positive in some virtual base class vtables. Patch by Stephan Bergmann! llvm-svn: 244101
-
Alex Lorenz authored
llvm-svn: 244100
-
Kostya Serebryany authored
llvm-svn: 244099
-
Alex Lorenz authored
llvm-svn: 244098
-
Reid Kleckner authored
Summary: By default, 'clang' emits dwarf and 'clang-cl' emits codeview. You can force emission of one or both by passing -gcodeview and -gdwarf to either driver. Reviewers: dblaikie, hans Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D11742 llvm-svn: 244097
-
Chandler Carruth authored
more involved change to the cost computation pattern. llvm-svn: 244095
-
Frederic Riss authored
Depending on the filesystem paths, the YAML dump might quote paths. Account for that in the regex patterns. llvm-svn: 244094
-
Alex Lorenz authored
This commit extracts the code that parses the IR constant values into a new method named 'parseIRConstant' in the 'MIParser' class. The new method will be reused by the code that parses the typed integer immediate machine operands. llvm-svn: 244093
-
Renato Golin authored
With this option, clang can use -fsanitize=thread on AArch64. Patch by Adhemerval Zanella. llvm-svn: 244091
-
Krzysztof Parzyszek authored
Author: Brendon Cahoon <bcahoon@codeaurora.org> llvm-svn: 244089
-
Renato Golin authored
Patch by Adhemerval Zanella. llvm-svn: 244088
-
Frederic Riss authored
The DWARF linker isn't touched by this, the implementation links individual files and merges them together into a fat binary by calling out to the 'lipo' utility. The main change is that the MachODebugMapParser can now return multiple debug maps for a single binary. The test just verifies that lipo would be invoked correctly, but doesn't actually generate a binary. This mimics the way clang tests its external iplatform tools integration. llvm-svn: 244087
-
Frederic Riss authored
llvm-dsymutil will start creating temporary files in a followup commit. To ease the correct cleanup of this files, introduce a helper called to exit dsymutil. llvm-svn: 244086
-
Frederic Riss authored
llvm-svn: 244085
-
Kostya Serebryany authored
llvm-svn: 244084
-
Kostya Serebryany authored
llvm-svn: 244083
-
Kostya Serebryany authored
llvm-svn: 244082
-
Alex Lorenz authored
llvm-svn: 244081
-
Chandler Carruth authored
rather than 'unsigned' for their costs. For something like costs in particular there is a natural "negative" value, that of savings or saved cost. As a consequence, there is a lot of code that subtracts or creates negative values based on cost, all of which is prone to awkwardness or bugs when dealing with an unsigned type. Similarly, we *never* want these values to wrap, as that would cause Very Bad code generation (likely percieved as an infinite loop as we try to emit over 2^32 instructions or some such insanity). All around 'int' seems a much better fit for these basic metrics. I've added asserts to ensure that at least the TTI interface never returns negative numbers here. If we ever have a use case for negative numbers, we can remove this, but this way a bug where someone used '-1' to produce a 'very large' cost will be caught by the assert. This passes all tests, and is also UBSan clean. No functional change intended. Differential Revision: http://reviews.llvm.org/D11741 llvm-svn: 244080
-
Douglas Katzman authored
This seems preferable to printing two warnings per unsupported option- one warning about not supporting it, and one about not using it. It also makes the '-Wno-' option do what you mean. Differential Revision: http://reviews.llvm.org/D11766 llvm-svn: 244079
-
Chandler Carruth authored
In PR24288 it was pointed out that the easy case of a non-escaping global and something that *obviously* required an escape sometimes is hidden behind PHIs (or selects in theory). Because we have this binary test, we can easily just check that all possible input values satisfy the requirement. This is done with a (very small) recursion through PHIs and selects. With this, the specific example from the PR is correctly folded by GVN. Differential Revision: http://reviews.llvm.org/D11707 llvm-svn: 244078
-
Hans Wennborg authored
llvm-svn: 244077
-
Argyrios Kyrtzidis authored
llvm-svn: 244076
-
Alex Lorenz authored
llvm-svn: 244075
-