- Jan 23, 2015
-
-
Filipe Cabecinhas authored
llvm-svn: 226900
-
Lang Hames authored
This makes it possible to move between SmallVectors of different sizes. Thanks to Dave Blaikie and Duncan Smith for patch feedback. llvm-svn: 226899
-
Craig Topper authored
llvm-svn: 226898
-
Craig Topper authored
llvm-svn: 226897
-
Rafael Espindola authored
In ItaniumCXXABI::EmitCXXDestructors we first emit the base destructor and then try to emit the complete one as an alias. If in the base ends up calling the complete destructor, the GD for the complete will be in the list of deferred decl by the time we replace it with an alias and delete the original GV. llvm-svn: 226896
-
Rafael Espindola authored
This lets llvm-mc assemble files produced by gcc. llvm-svn: 226895
-
Rui Ueyama authored
llvm-svn: 226893
-
Jason Molenda authored
llvm-svn: 226892
-
Kate Stone authored
Other platforms may benefit from something similar if issues arise. The libedit library doesn't explicitly initialize the curses termcap library, which it gets away with until TERM is set to VT100 where it stumbles over an implementation assumption that may not exist on other platforms. <rdar://problem/17581929> llvm-svn: 226891
-
NAKAMURA Takumi authored
llvm-svn: 226890
-
Jason Molenda authored
i386/x86_64 functions. The stack size was being multiplied by the pointer size incorrectly. The register permutation placeholders (UNWIND_X86_REG_NONE) were decrementing the stack offset of the saved registers when it should not have been. <rdar://problem/19570035> llvm-svn: 226889
-
NAKAMURA Takumi authored
llvm-svn: 226888
-
NAKAMURA Takumi authored
llvm-svn: 226887
-
Jim Ingham authored
paths we get from dladdr to have "//" in it internally, and while that is formally correct it is just asking for somebody to misparse it... llvm-svn: 226886
-
Richard Smith authored
llvm-svn: 226885
-
Kuba Brecka authored
llvm-svn: 226884
-
Rui Ueyama authored
llvm-svn: 226883
-
Richard Smith authored
produce diagnostics with source locations before the diagnostics system is ready for them. llvm-svn: 226882
-
Jan Vesely authored
v2: add and enable tests for SI Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Matt Arsenault <Matthew.Arsenault@amd.com> llvm-svn: 226881
-
Jan Vesely authored
v2: use getZExtValue add missing break codestyle v3: add few more comments Signed-off-by:Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Matt Arsenault <Matthew.Arsenault@amd.com> llvm-svn: 226880
-
Jan Vesely authored
optimizations can handle removing the Hi part operations. The generated code is identical for R600, ~10% icount reduction for SI v2: rebase Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Matt Arsenault <Matthew.Arsenault@amd.com> llvm-svn: 226879
-
Kuba Brecka authored
This patch is a proposed solution for https://code.google.com/p/address-sanitizer/issues/detail?id=375: When the stacktraces are captured and printed by ASan itself, they are fine, but when the program has already printed the report (or is just printing it), capturing a stacktrace via other means is broken. "Other means" include OS X CrashReporter, debuggers or calling backtrace() within the program. For example calling backtrace() from a sanitizer_set_death_callback function prints a very truncated stacktrace. Reviewed at http://reviews.llvm.org/D7103 llvm-svn: 226878
-
Simon Atanasyan authored
Differential Revision: http://reviews.llvm.org/D7127 llvm-svn: 226877
-
Duncan P. N. Exon Smith authored
Simplify the API to use a `StringRef` directly rather than exposing the `MDString` bits underneath. llvm-svn: 226876
-
Richard Smith authored
* Put all input files under Inputs/, move corresponding tests into test/Modules. * Rename a modulemap test file to [...].modulemap, and teach lit that such files are tests. llvm-svn: 226875
-
Duncan P. N. Exon Smith authored
These things are potentially used for non-DWARF data (see the discussion in PR22235), so take the `Dwarf` out of the name. Since the new name gives fewer clues, update the doxygen to properly describe what they are. llvm-svn: 226874
-
Simon Pilgrim authored
Minor tweak now that D7042 is complete, we can enable stack folding for (V)MOVDDUP and do proper testing. Added missing AVX ymm folding patterns and fixed alignment for AVX VMOVSLDUP / VMOVSHDUP. llvm-svn: 226873
-
Simon Pilgrim authored
llvm-svn: 226872
-
Simon Pilgrim authored
Removed loops from PSUBUS tests - ensures folding is tested. Also renamed SSE2 tests SSSE3 to match cpu. This is a follow up commit agreed in http://reviews.llvm.org/D7094 llvm-svn: 226871
-
Hans Wennborg authored
Previously, Clang would fail to warn on: int n = x + foo ? 1 : 2; when foo is a pointer. llvm-svn: 226870
-
Lang Hames authored
both hidden and default. Bug found by inspection by Rafael Espindola. No test: As discussed in the commit message for r226217 we don't have a good way to test this yet. llvm-svn: 226869
-
Chandler Carruth authored
I had already factored this analysis specifically to enable doing this, but hadn't actually committed the necessary wiring to get at this from the new pass manager. This also nicely shows how the separate cache object can be directly managed by the new pass manager. This analysis didn't have any direct tests and so I've added a printer pass and a boring test case. I chose to print the i1 value which is being assumed rather than the call to llvm.assume as that seems much more useful for testing... but suggestions on an even better printing strategy welcome. My main goal was to make sure things actually work. =] llvm-svn: 226868
-
Benjamin Kramer authored
llvm-svn: 226867
-
Duncan P. N. Exon Smith authored
During `MDNode::deleteTemporary()`, call `replaceAllUsesWith(nullptr)` to update all tracking references to `nullptr`. This fixes PR22280, where inverted destruction order between tracking references and the temporaries themselves caused a use-after-free in `LLParser`. An alternative fix would be to add an assertion that there are no users, and continue to fix inverted destruction order in clients (like `LLParser`), but instead I decided to make getting-teardown-right easy. (If someone disagrees let me know.) llvm-svn: 226866
-
Francisco Lopes da Silva authored
llvm-svn: 226865
-
Chris Bieneman authored
Summary: Some parsers need references back to the option they are members of. This is used for handling the argument string as well as by the various pass name parsers for making pass names into flags. Making parsers that need to refer back to the option have a reference to the option eliminates some of the members of various parsers, and enables further code cleanup. Reviewers: dexonsmith Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7131 llvm-svn: 226864
-
Joerg Sonnenberger authored
really help. Improve diagnostics. llvm-svn: 226863
-
Rafael Espindola authored
Looks like environ is defined only in the main binary. llvm-svn: 226862
-
Ramkumar Ramachandra authored
Make it clear that the "llvm.org" style is deriving from "gnu" style, and use the c-mode-common-hook instead of c-mode-hook and c++-mode-hook. Differential Revision: http://reviews.llvm.org/D7035 llvm-svn: 226861
-
Enrico Granata authored
llvm-svn: 226860
-