- Jan 24, 2015
-
-
Reid Kleckner authored
These tests are asserting and crashing for me, and 'not' sees that as a non-zero exit code instead of a signal code for obscure Windows reasons. This causes the test to pass, giving me an unclean 'ninja check'. The test is already XFAILd, so just run the test without 'not' and let lit handle the failure. llvm-svn: 226958
-
Vince Harron authored
Also removed extra call to UpdateSDKDirectoryInfosIfNeeded llvm-svn: 226957
-
Vince Harron authored
llvm-svn: 226956
-
David Blaikie authored
DebugInfo: Remove outdated comment. Column info is no longer needed to differentiate inline callsites. llvm-svn: 226955
-
David Blaikie authored
llvm-svn: 226954
-
Bruno Cardoso Lopes authored
Handle the poor codegen for i64/x86xmm->v2i64 (%mm -> %xmm) moves. Instead of using stack store/load pair to do the job, use scalar_to_vector directly, which in the MMX case can use movq2dq. This was the current behavior prior to improvements for vector legalization of extloads in r213897. This commit fixes the regression and as a side-effect also remove some unnecessary shuffles. In the new attached testcase, we go from: pshufw $-18, (%rdi), %mm0 movq %mm0, -8(%rsp) movq -8(%rsp), %xmm0 pshufd $-44, %xmm0, %xmm0 movd %xmm0, %eax ... To: pshufw $-18, (%rdi), %mm0 movq2dq %mm0, %xmm0 movd %xmm0, %eax ... Differential Revision: http://reviews.llvm.org/D7126 rdar://problem/19413324 llvm-svn: 226953
-
Justin Bogner authored
llvm-svn: 226952
-
Filipe Cabecinhas authored
llvm-svn: 226951
-
Filipe Cabecinhas authored
Please don't remove REQUIRES lines when refreshing tests. llvm-svn: 226950
-
Reid Kleckner authored
llvm-svn: 226949
-
Michael J. Spencer authored
llvm-svn: 226948
-
Eric Fiselier authored
llvm-svn: 226947
-
Lang Hames authored
These constructors were causing trouble for MSVC and older GCCs. This should fix more of the build failures from r226940. llvm-svn: 226946
-
Tom Stellard authored
We used to do this promotion during DAG legalization, but this caused an infinite loop in ExpandUnalignedLoad() because it assumed that i64 loads were legal if i64 was a legal type. It also seems better to report i64 loads as legal, since they actually are and we were just promoting them to simplify our tablegen files. llvm-svn: 226945
-
Fariborz Jahanian authored
converting to property-dot syntax for setters. rdar://19381786 llvm-svn: 226944
-
Michael J. Spencer authored
llvm-svn: 226943
-
Michael J. Spencer authored
llvm-svn: 226942
-
Lang Hames authored
This should fix some of the builder errors from r226940. llvm-svn: 226941
-
Lang Hames authored
This patch adds a new set of JIT APIs to LLVM. The aim of these new APIs is to cleanly support a wider range of JIT use cases in LLVM, and encourage the development and contribution of re-usable infrastructure for LLVM JIT use-cases. These APIs are intended to live alongside the MCJIT APIs, and should not affect existing clients. Included in this patch: 1) New headers in include/llvm/ExecutionEngine/Orc that provide a set of components for building JIT infrastructure. Implementation code for these headers lives in lib/ExecutionEngine/Orc. 2) A prototype re-implementation of MCJIT (OrcMCJITReplacement) built out of the new components. 3) Minor changes to RTDyldMemoryManager needed to support the new components. These changes should not impact existing clients. 4) A new flag for lli, -use-orcmcjit, which will cause lli to use the OrcMCJITReplacement class as its underlying execution engine, rather than MCJIT itself. Tests to follow shortly. Special thanks to Michael Ilseman, Pete Cooper, David Blaikie, Eric Christopher, Justin Bogner, and Jim Grosbach for extensive feedback and discussion. llvm-svn: 226940
-
Adrian Prantl authored
DIExpression::Operand, so we can write range-based for loops. Thanks to David Blaikie for the idea. llvm-svn: 226939
-
Sergey Matveev authored
See https://code.google.com/p/address-sanitizer/issues/detail?id=361 It's still not clear whether the values are correct in all cases, but at least this should unbreak our bots. llvm-svn: 226938
-
Reid Kleckner authored
Should make the tests run when using CMake on systems where 'uname -p' reports "amd64", such as FreeBSD. Should fix PR21559. llvm-svn: 226937
-
Kevin Enderby authored
This problem showed up with the clang-cmake-armv7-a15-full bot. Thanks to Renato Golin for his help. llvm-svn: 226936
-
Alexei Starovoitov authored
trivial first commit llvm-svn: 226935
-
Hans Wennborg authored
SimplifyCFG currently does this transformation, but I'm planning to remove that to allow other passes, such as this one, to exploit the unreachable default. This patch takes care to keep track of what case values are unreachable even after the transformation, allowing for more efficient lowering. Differential Revision: http://reviews.llvm.org/D6697 llvm-svn: 226934
-
Oleksiy Vyalov authored
llvm-svn: 226933
-
Colin LeMahieu authored
llvm-svn: 226932
-
Ramkumar Ramachandra authored
In llvm-mode, with electric-pair-mode turned on, typing a literal '[' would print out '[[', and '(' would print a '(('. This was a very annoying bug caused by overzealous syntax-table entries: the parens are already part of the '(' and ')' class by default. Fix this. While at it, notice that i32, i64, i1 etc. are not font-locked despite a clear intent to do so. The issue is that regexp-opt doesn't accept regular expressions. So, spell out the common literal integers with different widths. Differential Revision: http://reviews.llvm.org/D7036 llvm-svn: 226931 -
Daniel Jasper authored
We did't properly mark all of an AnnotatedLine's children as finalized and thus would reformat the same tokens in different branches of #if/#else sequences leading to invalid replacements. llvm-svn: 226930
-
Kuba Brecka authored
[compiler-rt] Ensure AsanInitFromRtl is called from a static initializer on OS X by using ASAN_DYNAMIC=1 The idea is to ensure that the ASan runtime gets initialized early (i.e. before other initializers/constructors) even when DYLD_INSERT_LIBRARIES is not used. In that case, the interceptors are not installed (on OS X, DYLD_INSERT_LIBRARIES is required for interceptors to work), and therefore ASan gets currently initialized quite late -- from the main executable's module initializer. The following issues are a consequence of this: https://code.google.com/p/address-sanitizer/issues/detail?id=363 https://code.google.com/p/address-sanitizer/issues/detail?id=357 Both of them are fixed with this patch. Reviewed at http://reviews.llvm.org/D7117 llvm-svn: 226929
-
Greg Fitzgerald authored
This reverts commit 6a3f545b44cea46321e025d9ab773786af86cb51. llvm-svn: 226928
-
Fariborz Jahanian authored
receiver type is not valid for property-dot syntz use. rdar://19381786 llvm-svn: 226927
-
Kuba Brecka authored
The interceptor of ioctl is using a non-standard prototype: INTERCEPTOR(int, ioctl, int d, unsigned request, void *arg) At least on OS X, the request argument should be unsigned long and not just unsigned, and also instead of the last argument (arg), the function should be accepting a variable number of arguments, so the prototype should be: int ioctl(int fildes, unsigned long request, ...); We can still keep using `unsigned` internally to save space, because we know that all possible values of `request` will fit into it. Reviewed at http://reviews.llvm.org/D7038 llvm-svn: 226926
-
Reid Kleckner authored
llvm-svn: 226925
-
Francisco Lopes da Silva authored
llvm-svn: 226924
-
Daniel Jasper authored
Before: *a = b *c; After: *a = b * c; llvm-svn: 226923
-
Greg Fitzgerald authored
lldELF is used by each ELF backend. lldELF's ELFLinkingContext also held a reference to each backend, creating a link-time cycle. This patch moves the backend references to lldDriver. Differential Revision: http://reviews.llvm.org/D7119 llvm-svn: 226922
-
Kevin Enderby authored
Add the option, -data-in-code, to llvm-objdump used with -macho to print the Mach-O data in code table. llvm-svn: 226921
-
Reid Kleckner authored
This mostly reverts commit r222062 and replaces it with a new enum. At some point this enum will grow at least for other MSVC EH personalities. Also beefs up the way we were sniffing the personality function. Previously we would emit the Itanium LSDA despite using __C_specific_handler. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D6987 llvm-svn: 226920
-
Adrian Prantl authored
llvm-svn: 226919
-