- May 09, 2013
-
-
Kai Nacke authored
Add one of my contributions to CREDITS.TXT. llvm-svn: 181508
-
Rafael Espindola authored
It was only implemented for ELF where it collected the Addend, so this patch also renames it to getRelocationAddend. llvm-svn: 181502
-
Eric Christopher authored
temporarily while investigating gdb.cp/templates.exp. This reverts commit r181471. llvm-svn: 181496
-
Arnold Schwaighofer authored
A computable loop exit count does not imply the presence of an induction variable. Scalar evolution can return a value for an infinite loop. Fixes PR15926. llvm-svn: 181495
-
Dmitri Gribenko authored
llvm-svn: 181478
-
- May 08, 2013
-
-
Daniel Malea authored
- the temporaries "-debug.ll" files generated by DebugIR pass are considered tests, even though they are not llvm-svn: 181476
-
Eric Christopher authored
for constructors and destructors since the original declaration given by the AT_specification both won't and can't. Patch by Yacine Belkadi, I've cleaned up the testcases. llvm-svn: 181471
-
Daniel Malea authored
- simple one-function case - function-calling case - external function calling case - exception throwing case - vector case Note: these tests are somewhat coupled to the current format of debug metadata. llvm-svn: 181469
-
Daniel Malea authored
- requires existing debug information to be present - fixes up file name and line number information in metadata - emits a "<orig_filename>-debug.ll" succinct IR file (without !dbg metadata or debug intrinsics) that can be read by a debugger - initialize pass in opt tool to enable the "-debug-ir" flag - lit tests to follow llvm-svn: 181467
-
Daniel Malea authored
- made all functions virtual so that subclasses can specialize them - add printInstructionLine so that subclasses can choose whether or not to print the newline character (without having to implement printBasicBlock() - added a second constructor to AssemblyWriter that does not require a SlotTracker, as required in order to keep the SlotTracker helper class outside AsmWriter.h and buried in the implementation. llvm-svn: 181466
-
Daniel Malea authored
- previously formatted_raw_ostream tracked columns, now it tracks lines too - used by (upcoming) DebugIR pass to know the line number to connect to each IR instruction llvm-svn: 181463
-
Akira Hatanaka authored
llvm-svn: 181459
-
Ulrich Weigand authored
[PowerPC] Add ELF relocation tests This patch extends test/MC/PowerPC/ppc64-fixups.s to not only check for the correct fixup type in the --show-encoding output, but also runs the generated object file through llvm-readobj -r and verifies that the correct ELF relocation records were generated. llvm-svn: 181453
-
Roman Divacky authored
llvm-svn: 181452
-
Ulrich Weigand authored
[PowerPC] Add some missing PPC64 relocs All R_PPC_... relocs should also be present (using the same number) under the corresponding R_PPC64_... name. The latter were missing for a couple of cases, which this patch adds. This is not a big problem when emitting the reloc, because we can just use the R_PPC_... define instead. But it is a problem when *dumping* relocations e.g. using llvm-readobj, because this will expect only R_PPC64_... values when inspecting a ppc64 ELF file. llvm-svn: 181451
-
Ulrich Weigand authored
[PowerPC] Fix regression in generating @ha/@l relocs The patch I committed as revision 167864 introduced a regression that causes LLVM to no longer generate appropriate relocs for @ha/@l symbol references (but fail an assertion instead). This is fixed here by re-enabling support for the VK_PPC_GAS_HA16/ VK_PPC_GAS_LO16 variant kinds (and their Darwin variants) in PPCELFObjectWriter.cpp. Tested by running projects/test-suite in -m32 mode with the integrated assembler forced on. A standalone test case will be committed shortly as well. llvm-svn: 181450
-
Bill Schmidt authored
This fixes bug 15821 similarly to the powerpc64-linux fix for bug 14779. Patch by David Fang. llvm-svn: 181449
-
Stepan Dyatkovskiy authored
llvm-svn: 181437
-
Richard Sandiford authored
llvm-svn: 181434
-
Richard Sandiford authored
llvm-svn: 181431
-
Michel Danzer authored
Adapted from the llvm.SI.sample test. Reviewed-by:
Christian König <christian.koenig@amd.com> llvm-svn: 181425
-
Hal Finkel authored
The floating-point record forms on PPC don't set the condition register bits based on a comparison with zero (like the integer record forms do), but rather based on the exception status bits. llvm-svn: 181423
-
Mihai Popa authored
The reference encoding is correct, but written in the wrong byte order (these are Thumb tests, while the reference is in ARM byte order). llvm-svn: 181420
-
Bill Wendling authored
llvm-svn: 181418
-
Bill Wendling authored
llvm-svn: 181402
-
Nick Lewycky authored
by switching to a ValueMap. Patch by Andrea DiBiagio! llvm-svn: 181397
-
David Majnemer authored
Fold (xor (and x, y), y) -> (and (not x), y) This removes an opportunity for a constant to appear twice. llvm-svn: 181395
-
David Blaikie authored
This provides basic functionality for imported declarations. For subprograms and types some amount of lazy construction is supported (so the definition of a function can proceed the using declaration), but it still doesn't handle declared-but-not-defined functions (since we don't generally emit function declarations). Variable support is really rudimentary at the moment - simply looking up the existing definition with no support for out of order (declaration, imported_module, then definition). llvm-svn: 181392
-
David Blaikie authored
llvm-svn: 181391
-
Eric Christopher authored
instead of relying upon an extra call to finish initializing. llvm-svn: 181383
-
Eric Christopher authored
llvm-svn: 181378
-
Bill Wendling authored
llvm-svn: 181371
-
- May 07, 2013
-
-
Arnold Schwaighofer authored
The two nested loops were confusing and also conservative in identifying reduction variables. This patch replaces them by a worklist based approach. llvm-svn: 181369
-
Kevin Enderby authored
A = 9 B = 3 * A - 2 * A + 1 as B = 3 * A - (2 * A + 1) rdar://13816516 llvm-svn: 181366
-
David Blaikie authored
DIBuilder::createImportedDeclaration isn't fully plumbed through (note, lacking in AsmPrinter/DwarfDebug support) but this seemed like a sufficiently useful division of code to make the subsequent patch(es) easier to follow. llvm-svn: 181364
-
Charles Davis authored
Patch by Kai Nacke! llvm-svn: 181363
-
Bob Wilson authored
No functional change. llvm-svn: 181355
-
Rafael Espindola authored
llvm-svn: 181354
-
Rafael Espindola authored
llvm-svn: 181353
-
Bill Wendling authored
llvm-svn: 181350
-