- Jul 04, 2014
-
-
Kevin Enderby authored
symbol’s name. On darwin the -j flag is used (often in combinations with other flags) to produce a complete list of symbol names which than can then be reorder and used with ld(1)’s -order_file. llvm-svn: 212294
-
Andrea Di Biagio authored
This patch adds tablegen patterns to select F16C float-to-half-float conversion instructions from 'f32_to_f16' and 'f16_to_f32' dag nodes. If the target doesn't have F16C, then 'f32_to_f16' and 'f16_to_f32' are expanded into library calls. llvm-svn: 212293
-
Rafael Espindola authored
llvm-svn: 212292
-
Fariborz Jahanian authored
llvm-svn: 212291
-
Zachary Turner authored
The purpose of the OptionValidator is to determine, based on some arbitrary set of conditions, whether or not a command option is valid for a given debugger state. An example of this might be to selectively disable or enable certain command options that don't apply to a particular platform. This patch contains no functional change, and does not actually make use of an OptionValidator for any purpose yet. A follow-up patch will begin to add the logic and users of OptionValidator. Reviewed by: Greg Clayton, Jim Ingham Differential Revision: http://reviews.llvm.org/D4369 llvm-svn: 212290
-
Rafael Espindola authored
llvm-svn: 212289
-
Rafael Espindola authored
Fixes the build with only the ARM backend enabled. For some reason some other backend was pulling Object and this went unnoticed. llvm-svn: 212288
-
Rafael Espindola authored
This should allow llvm-ar to be used instead of gnu ar + plugin in a LTO build. I will add a release note about it once I finish a LTO bootstrap with it. llvm-svn: 212287
-
Dan Albert authored
Will add support for tests with lit in a later patch. This does not yet support building the unwinder in src/Unwind. llvm-svn: 212286
-
Gerolf Hoflehner authored
llvm-svn: 212285
-
Gerolf Hoflehner authored
Exposes more constant globals that can be removed by the global optimizer. A specific example is the removal of the static global block address array in clang/test/CodeGen/indirect-goto.c. This change impacts only lower optimization levels. With LTO interprocedural const prop runs already before global opt. llvm-svn: 212284
-
Rafael Espindola authored
llvm-svn: 212283
-
Rafael Espindola authored
This also enables it in llvm-nm so that it can be tested. llvm-svn: 212282
-
Benjamin Kramer authored
llvm-svn: 212281
-
Kevin Enderby authored
as darwin’s nm(1) uses -U for this functionality. llvm-svn: 212280
-
Sanjay Patel authored
llvm-svn: 212279
-
David Majnemer authored
This replaces some old-style loops with range-based for. llvm-svn: 212278
-
Yi Kong authored
Adds support for __builtin_arm_isb. Also corrects DSB and ISB instructions modelling by adding has-side-effects property. llvm-svn: 212277
-
Yi Kong authored
Adds support for __builtin_arm_isb. Also corrects DSB and ISB instructions modelling by adding has-side-effects property. llvm-svn: 212276
-
- Jul 03, 2014
-
-
Sanjay Patel authored
This patch sets the 'KeepReg' bit for any tied and live registers during the PrescanInstruction() phase of the dependency breaking algorithm. It then checks those 'KeepReg' bits during the ScanInstruction() phase to avoid changing any tied registers. For more details, please see comments in: http://llvm.org/bugs/show_bug.cgi?id=20020 I added two FIXME comments for code that I think can be removed by using register iterators that include self. I don't want to include those code changes with this patch, however, to keep things as small as possible. The test case is larger than I'd like, but I don't know how to reduce it further and still produce the failing asm. Differential Revision: http://reviews.llvm.org/D4351 llvm-svn: 212275
-
Ulrich Weigand authored
The PowerPC 128-bit long double data type (ppcf128 in LLVM) is in fact a pair of two doubles, where one is considered the "high" or more-significant part, and the other is considered the "low" or less-significant part. When a ppcf128 value is stored in memory or a register pair, the high part always comes first, i.e. at the lower memory address or in the lower-numbered register, and the low part always comes second. This is true both on big-endian and little-endian PowerPC systems. (Similar to how with a complex number, the real part always comes first and the imaginary part second, no matter the byte order of the system.) This was implemented incorrectly for little-endian systems in LLVM. This commit fixes three related issues: - When printing an immediate ppcf128 constant to assembler output in emitGlobalConstantFP, emit the high part first on both big- and little-endian systems. - When lowering a ppcf128 type to a pair of f64 types in SelectionDAG (which is used e.g. when generating code to load an argument into a register pair), use correct low/high part ordering on little-endian systems. - In a related issue, because lowering ppcf128 into a pair of f64 must operate differently from lowering an int128 into a pair of i64, bitcasts between ppcf128 and int128 must not be optimized away by the DAG combiner on little-endian systems, but must effect a word-swap. Reviewed by Hal Finkel. llvm-svn: 212274
-
Evgeniy Stepanov authored
Large part of this change is required due to https://code.google.com/p/android/issues/detail?id=61799 dlsym() crashes when symbol resolution fails, which means we have to limit the interceptor list instead of relying on runtime detection. There are minor differencies in system headers, too. llvm-svn: 212273
-
Evgeniy Stepanov authored
llvm-svn: 212272
-
NAKAMURA Takumi authored
llvm-svn: 212271
-
NAKAMURA Takumi authored
llvm-svn: 212270
-
Tim Northover authored
Unfortunately, the creation of (the default) output file, a.out races with all the other tests in this directory. When the wrong one is read by macho-dump, the test fails. llvm-svn: 212269
-
Evgeniy Stepanov authored
With this change all values passed through blacklisted functions become fully initialized. Previous behavior was to initialize all loads in blacklisted functions, but apply normal shadow propagation logic for all other operation. This makes blacklist applicable in a wider range of situations. It also makes code for blacklisted functions a lot shorter, which works as yet another workaround for PR17409. llvm-svn: 212268
-
Evgeniy Stepanov authored
llvm-svn: 212267
-
Evgeniy Stepanov authored
llvm-svn: 212266
-
Evgeniy Stepanov authored
With this change all values passed through blacklisted functions become fully initialized. Previous behavior was to initialize all loads in blacklisted functions, but apply normal shadow propagation logic for all other operation. This makes blacklist applicable in a wider range of situations. It also makes code for blacklisted functions a lot shorter, which works as yet another workaround for PR17409. llvm-svn: 212265
-
Renato Golin authored
Patch by: Moritz Roth llvm-svn: 212264
-
Robert Lytton authored
Summary: Because a global created by GetOrCreateLLVMGlobal() is not finalised until later viz: extern char a[]; char f(){ return a[5];} char a[10]; Change MangledDeclNames to use a MapVector rather than a DenseMap so that the Metadata is output in order of original declaration, so to make deterministic and improve human readablity. Differential Revision: http://reviews.llvm.org/D4176 llvm-svn: 212263 -
Robert Lytton authored
Differential Revision: http://reviews.llvm.org/D4176 llvm-svn: 212262
-
Christian Pirker authored
Reviewed at http://reviews.llvm.org/D4364 llvm-svn: 212261
-
Simon Atanasyan authored
llvm-svn: 212260
-
Marcello Maggioni authored
llvm-svn: 212259
-
NAKAMURA Takumi authored
llvm-svn: 212258
-
Chandler Carruth authored
This operation was classified as a binary operation in the widening logic for some reason (clearly, untested). It is in fact a unary operation. Add a RUN line to a test to exercise this for x86. Note that again the vector widening strategy doesn't regress anything and in one case removes a totally unecessary instruction that we couldn't avoid when promoting the element type. llvm-svn: 212257
-
David Majnemer authored
The Itanium rules are not appropriate for the MS ABI. RTTI data is _never_ imported and thus is never available_externally. It is either internal (if the type's linkage is internal) or linkonce_odr. This also means that classes which inherit from dllimport'd bases force their translation unit to duplicate the entirety of the RTTI data of that base. Interestingly, the complete object locator can never be referenced by translation units which import the class. This fixes PR20106. llvm-svn: 212256
-
Zachary Turner authored
on Windows. llvm-svn: 212255
-