- Dec 10, 2014
-
-
Eric Christopher authored
llvm-svn: 223972
-
Colin LeMahieu authored
llvm-svn: 223971
-
David Majnemer authored
No functional change intended. llvm-svn: 223970
-
David Majnemer authored
Zero is usually a nicer constant to have than -1. llvm-svn: 223969
-
David Majnemer authored
X shifted by undef results in undef because the undef value can represent values greater than the width of the operands. llvm-svn: 223968
-
Colin LeMahieu authored
llvm-svn: 223967
-
Sean Callanan authored
Thanks to Nico Weber for spotting this. llvm-svn: 223966
-
Tobias Grosser authored
The dead code elimination is a pass that looks very promising, but needs some more compile-time tuning before enabling it by default seems sensible. llvm-svn: 223965
-
Rafael Espindola authored
These methods are only used by MCJIT and are very specific to it. In fact, they are also fairly specific to the fact that we have a dynamic linker of relocatable objects. llvm-svn: 223964
-
Simon Atanasyan authored
Some targets like microMIPS and ARM Thumb use the last bit of a symbol's value to mark 'compressed' code. This patch adds new virtual function `DynamicTable::getAtomVirtualAddress` which allows to adjust a symbol's value before using it in a dynamic table tags like DT_INIT / DT_FINI. llvm-svn: 223963
-
Richard Smith authored
having a deleted default constructor. llvm-svn: 223953
-
Juergen Ributzka authored
In the large code model we have to first get the address of the GOT entry, load the address of the constant, and then load the constant itself. To avoid these loads and the GOT entry alltogether this commit changes the way how FP constants are materialized in the large code model. The constats are now materialized in a GPR and then bitconverted/moved into the FPR. Reviewed by Tim Northover Fixes rdar://problem/16572564. llvm-svn: 223941
-
Marek Olsak authored
llvm-svn: 223940
-
Sean Callanan authored
Objective-C types and enums in modules. We now have a three-stage fallback when looking for methods and properties: first the DWARF, second the modules, third the runtime. <rdar://problem/18782288> llvm-svn: 223939
-
David Blaikie authored
llvm-svn: 223938
-
David Blaikie authored
llvm-svn: 223937
-
Daniel Jasper authored
No functional changes intended. llvm-svn: 223936
-
Sean Callanan authored
but ignores module imports in debugger mode, even inside functions. llvm-svn: 223935
-
Fariborz Jahanian authored
NS_ENUM/NS_OPTIONS use the underlying type if there is no associated type. rdar://19198042 llvm-svn: 223934
-
Colin LeMahieu authored
llvm-svn: 223933
-
Timur Iskhodzhanov authored
llvm-svn: 223932
-
Stepan Dyatkovskiy authored
Pass looks for equivalent functions that are mergable and folds them. llvm-svn: 223931
-
Daniel Jasper authored
They are against the LLVM coding conventions. No functional changes intended. llvm-svn: 223930
-
Sanjay Patel authored
Add patterns to match SSE (shufpd) and AVX (vpermilpd) shuffle codegen when storing the high element of a v2f64. The existing patterns were only checking for an unpckh type of shuffle. http://llvm.org/bugs/show_bug.cgi?id=21791 Differential Revision: http://reviews.llvm.org/D6586 llvm-svn: 223929
-
Pekka Jaaskelainen authored
arithmetic relaxation flags: -cl-no-signed-zeros -cl-unsafe-math-optimizations -cl-finite-math-only -cl-fast-relaxed-math Propagate the info to FP instruction flags as well as function attributes where they are available. llvm-svn: 223928
-
Simon Atanasyan authored
This is a temporary workaround while MIPS64 has not yet fully supported 128-bit integers. But declaration of int128 type is necessary even though `__SIZEOF_INT128__` is undefined because c++ standard header files like `limits` throw error message if `__int128` is not available. Patch by Sagar Thakur. Differential Revision: http://reviews.llvm.org/D6402 llvm-svn: 223927
-
Aaron Ballman authored
llvm-svn: 223926
-
Evgeniy Stepanov authored
Should fix PR21476. llvm-svn: 223925
-
David Majnemer authored
Dividing by zero yields an undefined value. llvm-svn: 223924
-
David Majnemer authored
Exact shifts always keep the non-zero bits of their input. This means it keeps it's undef bits. llvm-svn: 223923
-
Michael Kuperstein authored
EltsFromConsecutiveLoads was apparently only ever called for 128-bit vectors, and assumed this implicitly. r223518 started calling it for AVX-sized vectors, causing the code path that had this assumption to crash. This adds a check to make this path fire only for 128-bit vectors. Differential Revision: http://reviews.llvm.org/D6579 llvm-svn: 223922
-
NAKAMURA Takumi authored
llvm-svn: 223921
-
Rui Ueyama authored
llvm-svn: 223920
-
David Majnemer authored
We already optimized rem %X, 0 to undef, we should do the same for div. llvm-svn: 223919
-
Craig Topper authored
llvm-svn: 223918
-
Simon Atanasyan authored
The LLD linker searches initializer and finalizer function names and emits DT_INIT/DT_FINI dynamic table tags to point to these symbols. The -init/-fini command line options override initializer ("_init") and finalizer ("_fini") function names used by default. Now the -init/-fini options do not affect .init_array/.fini_array sections. The corresponding code has been removed. Differential Revision: http://reviews.llvm.org/D6578 llvm-svn: 223917
-
Duncan P. N. Exon Smith authored
Fix PR21802 by correcting the destruction order of `ClangExpressionParser` and `IRExecutionUnit` in `ClangFunction`. The former has hooks into the latter -- i.e., `clang::CGDebugInfo` points at the `LLVMContext` -- so it needs to be torn down first. This was exposed by r223802 in LLVM, which started doing work in the `CGDebugInfo` teardown. llvm-svn: 223916
-
Eric Fiselier authored
Summary: This patch gives me just enough to leverage the existing functionality in `TestRunner` for use in `libc++` and `libc++abi` . It does the following: * Adds the `UNSUPPORTED` tag to `TestRunner.parseIntegratedTestScript`. * Allows `parseIntegratedTestScript` to return an empty script if a script is not required by the caller. Reviewers: ddunbar, EricWF Reviewed By: EricWF Subscribers: cfe-commits, llvm-commits Differential Revision: http://reviews.llvm.org/D6589 llvm-svn: 223915
-
Richard Smith authored
llvm-svn: 223914
-
Richard Smith authored
Original commit message: [modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1. For files named by -fmodule-map-file=, and files found by 'extern module' directives, this flag specifies that we should resolve filenames relative to the current working directory rather than relative to the directory in which the module map file resides. This is aimed at fixing path handling, in particular for relative -I paths, when building modules that represent components of the current project (rather than libraries installed on the current system, which the current project has as dependencies, where we'd typically expect the module map files to be looked up implicitly). llvm-svn: 223913
-