- Jun 29, 2013
-
-
Matt Arsenault authored
llvm-svn: 185238
-
Jakob Stoklund Olesen authored
llvm-svn: 185237
-
Jakob Stoklund Olesen authored
Allow block frequencies to exceed 32 bits by using the new BlockFrequency division function. llvm-svn: 185236
-
Hal Finkel authored
This fixes PR16418, which reports that a function calling __builtin_unwind_init() asserts. The cause is that this generates a spill/restore for VRSAVE, and we support that only on Darwin (because VRSAVE is only really used on Darwin). The test case checks only that we don't crash. We can add correctness checks once someone verifies what behavior the function is supposed to have. llvm-svn: 185235
-
Richard Smith authored
llvm-svn: 185234
-
Jim Ingham authored
llvm-svn: 185233
-
Daniel Malea authored
- should resolve windows buildbot failure llvm-svn: 185232
-
Eli Friedman authored
llvm-svn: 185231
-
Nadav Rotem authored
To support this we have to insert 'extractelement' instructions to pick the right lane. We had this functionality before but I removed it when we moved to the multi-block design because it was too complicated. llvm-svn: 185230
-
Richard Smith authored
across scopes. When we declare an extern "C" name that is not a redeclaration of an entity in the same scope, check whether it redeclares some extern "C" entity from another scope, and if not, check whether it conflicts with a (non-extern-"C") entity in the translation unit. When we declare a name in the translation unit that is not a redeclaration, check whether it conflicts with any extern "C" entities (possibly from other scopes). llvm-svn: 185229
-
- Jun 28, 2013
-
-
Richard Trieu authored
Change assert("text") to assert(0 && "text"). The first case is a const char * to bool conversion, which always evaluates to true, never triggering the assert. The second case will always trigger the assert. llvm-svn: 185227
-
Jakob Stoklund Olesen authored
llvm-svn: 185226
-
Daniel Malea authored
- mistakenly used get_current_dir() linux function - replaced with getcwd/_getcwd as appropriate for current platform llvm-svn: 185225
-
Sean Callanan authored
been suitable for preparing a single IR function for operation in the target. However, using blocks and lambdas creates other IR functions that also need to be processed. I have audited IRForTarget to make it process multiple functions. Where IRForTarget would add new instructions at the beginning of the main expression function, it now adds them on-demand in the function where they are needed. This is enabled by a system of FunctionValueCaches, which invoke a lambda to create or derive the values as needed, or report the result of that lambda if it has already been called for the given function. <rdar://problem/14180236> llvm-svn: 185224
-
-
Andrew Kaylor authored
Revising the MCJIT ObjectCache interface to allow subclasses to avoid retaining references to returned objects llvm-svn: 185221
-
David Blaikie authored
llvm-svn: 185219
-
Jakob Stoklund Olesen authored
Hopefully, this fixes the PPC64 buildbots. llvm-svn: 185218
-
Greg Clayton authored
Default parameters are evil and should not be used. Case and point this checkin that fixes implicit conversions that were happening. llvm-svn: 185217
-
Eli Friedman authored
Previously, for a field with an invalid in-class initializer, we would create a CXXDefaultInitExpr referring to a null Expr*. This is not a good idea. llvm-svn: 185216
-
Eli Friedman authored
llvm-svn: 185215
-
Nadav Rotem authored
In this code we keep track of pointers that we are allowed to read from, if they are accessed by non-predicated blocks. We use this list to allow vectorization of conditional loads in predicated blocks because we know that these addresses don't segfault. llvm-svn: 185214
-
Peter Collingbourne authored
This function only makes sense there. Eventually it should no longer be part of the CGCXXABI interface, as it is an Itanium-specific detail. Differential Revision: http://llvm-reviews.chandlerc.com/D821 llvm-svn: 185213
-
Daniel Malea authored
- lit tests verify that each line of input LLVM IR gets a !dbg node and a corresponding entry of metadata that contains the line number - unit tests verify that DebugIR works as advertised in the interface - refactored some useful IR generation functionality from the MCJIT unit tests so it can be reused llvm-svn: 185212
-
Howard Hinnant authored
Provide missing '{' in parsing extended quoted characters. This fixes http://llvm.org/bugs/show_bug.cgi?id=16135 llvm-svn: 185211
-
Greg Clayton authored
llvm-svn: 185210
-
Tom Stellard authored
Patch By: Alex Deucher Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> llvm-svn: 185209
-
Greg Clayton authored
llvm-svn: 185208
-
Greg Clayton authored
llvm-svn: 185207
-
Hal Finkel authored
On OpenBSD, the stack-smash protection transform uses "__guard_local" and "__stack_smash_handler" instead of "__stack_chk_guard" and "__stack_chk_fail". However, CodeGen/PowerPC/stack-protector.ll doesn't specify a target OS, so on OpenBSD it fails. Add -mtriple=ppc32-unknown-linux to make the test host-OS agnostic. While there, convert to FileCheck. Patch by Matthew Dempsky. llvm-svn: 185206
-
Rui Ueyama authored
llvm-svn: 185205
-
David Blaikie authored
Based on GCC's output for TLS variables (OP_constNu, x@dtpoff, OP_lo_user), this implements debug info support for TLS in ELF. Verified that this output is correct/sufficient on Linux (using gold - if you're using binutils-ld, you'll need something with the fix for http://sourceware.org/bugzilla/show_bug.cgi?id=15685 in it). Support on non-ELF is sort of "arbitrary" at the moment - if Apple folks want to discuss (or just go ahead & implement) how this should work in MachO, etc, I'm open. llvm-svn: 185203
-
David Blaikie authored
This is a precursor to adding debug info support for TLS which requires non-default relocations applied to TLS symbols. llvm-svn: 185202
-
Hal Finkel authored
Under certain (evidently rare) circumstances, this code used to convert OR(a, AND(x, y)) into OR(a, x). This was incorrect. While there, I've added a comment to the code immediately above. llvm-svn: 185201
-
Rui Ueyama authored
llvm-svn: 185200
-
Anton Yartsev authored
+ description for --use-analyzer option + managed size of columns of the 'options' table llvm-svn: 185199
-
Daniel Malea authored
- should unbreak Windows builds llvm-svn: 185198
-
Daniel Malea authored
- warn users when -debug-ir is used with old JIT engine (only partial debug info is available) For example, to debug an IR file with GDB (that supports JIT registration), do: $ gdb --args lli -use-mcjit -debug-ir testcase.ll (gdb) break main (gdb) run <Process continues to lli main> (gdb) continue <Process continues to testcase.ll main() (gdb) step <Now stepping through the LLVM IR in testcase.ll> llvm-svn: 185197
-
Howard Hinnant authored
William Fisher: A bug in __lookahead::exec causes /(?=^)b/ to match ab. When makes a recursive call to , it passes true for the value of . This causes a beginning-of-line anchor (^) inside a lookahead assertion to match anywhere in the text. This fixes http://llvm.org/bugs/show_bug.cgi?id=11118 llvm-svn: 185196
-
Rui Ueyama authored
In order to support linking against DLL, the linker needs to create defined atoms for jump tables and etc. Because such atoms are not read from a file, they lack some information such as an ordinal. With this patch, COFFDefinedAtom is split into two classes; one is the base class of all COFF defined atoms, and another is a concrete class for atoms read from file. More classes inheriting COFFBaseDefinedAtom will be added for jump tables and etc. llvm-svn: 185195
-