- Apr 08, 2014
-
-
NAKAMURA Takumi authored
X86MCAsmInfoGNUCOFF: Set PointerSize as 8 for targeting x64. It caused DW_LNE_set_address was misemitted on x64. FIXME: I haven't investigate whether CalleeSaveStackSlotSize should be 8. llvm-svn: 205772
-
Tim Northover authored
Confusingly, the NEON fmla instructions put the accumulator first but the scalar versions put it at the end (like the fma lib function & LLVM's intrinsic). This should fix PR19345, assuming there's only one issue. llvm-svn: 205758
-
Richard Smith authored
file that it doesn't use. llvm-svn: 205755
-
Elena Demikhovsky authored
llvm-svn: 205754
-
Andrew Trick authored
indirectly requires a function analysis. This bug was reported by Jason Kim. He included a test case here: http://reviews.llvm.org/D3312 llvm-svn: 205753
-
David Majnemer authored
Before, we would have conditional operators where one side of the operator would be of type RelocationTypeAMD64 and the other is of type RelocationTypeI386. GCC would noisly warn with -Wenum-compare diagnostic. Instead, refactor the code so it is more like the X86 ELF object writer. llvm-svn: 205752
-
Jim Grosbach authored
Punctuation, grammar, formatting, etc.. llvm-svn: 205749
-
Jim Grosbach authored
llvm-svn: 205748
-
Jim Grosbach authored
llvm-svn: 205747
-
David Majnemer authored
The IO normalizer would essentially lump I386 and AMD64 relocations together. Relocation types with the same numeric value would then get mapped in appropriately. For example: IMAGE_REL_AMD64_ADDR64 and IMAGE_REL_I386_DIR16 both have a numeric value of one. We would see IMAGE_REL_I386_DIR16 in obj2yaml conversions of object files with a machine type of IMAGE_FILE_MACHINE_AMD64. llvm-svn: 205746
-
Sean Silva authored
The TableGen docs have changed structure Patch by Tay Ray Chuan! llvm-svn: 205744
-
Sean Silva authored
docs/TableGen/ is not really just "fundamentals" anymore, but rather more of a portal for all things TableGen. llvm-svn: 205743
-
Sean Silva authored
llvm-svn: 205742
-
Reed Kotler authored
llvm-svn: 205741
-
- Apr 07, 2014
-
-
Andrew Trick authored
Fixes PR16365 - Extremely slow compilation in -O1 and -O2. The SD scheduler has a quadratic implementation of load clustering which absolutely blows up compile time for large blocks with constant pool loads. The MI scheduler has a better implementation of load clustering. However, we have not done the work yet to completely eliminate the SD scheduler. Some benchmarks still seem to benefit from early load clustering, although maybe by chance. As an intermediate term fix, I just put a nice limit on the number of DAG users to search before finding a match. With this limit there are no binary differences in the LLVM test suite, and the PR16365 test case does not suffer any compile time impact from this routine. llvm-svn: 205738
-
Tom Stellard authored
llvm-svn: 205732
-
Tom Stellard authored
Moving these patterns from TableGen files to PerformDAGCombine() should allow us to generate better code by eliminating unnecessary shifts and extensions earlier. This also fixes a bug where the MAD pattern was calling SimplifyDemandedBits with a 24-bit mask on the first operand even when the full pattern wasn't being matched. This occasionally resulted in some instructions being incorrectly deleted from the program. v2: - Fix bug with 64-bit mul llvm-svn: 205731
-
Tom Stellard authored
llvm-svn: 205730
-
Richard Smith authored
Using this file would result in an odr violation: it defines an llvm::Interval class that conflicts with the one in Analysis/Interval.h. llvm-svn: 205726
-
Richard Smith authored
the non-matching next line in the diagnostic to make the problem more obvious. llvm-svn: 205725
-
Matt Arsenault authored
llvm-svn: 205723
-
Matt Arsenault authored
llvm-svn: 205722
-
Eric Christopher authored
change outside of the command line to enable it. llvm-svn: 205713
-
Eric Christopher authored
that at least failed reliably. llvm-svn: 205711
-
Eric Christopher authored
into a constant size alloca by inlining. Ran a run over the testsuite, no results out of the noise, fixes the testcase in the PR. PR19115. llvm-svn: 205710
-
Eric Christopher authored
cygwin has llvm-dwarfdump problems and isn't paying attention to the specific xfail there. s390x isn't matching for an unknown reason. llvm-svn: 205708
-
Simon Atanasyan authored
llvm-svn: 205707
-
Eric Christopher authored
llvm-svn: 205706
-
Eric Christopher authored
Patch by Zinovy Nis. llvm-svn: 205705
-
Eric Christopher authored
it's being investigated for those. llvm-svn: 205704
-
Manuel Klimek authored
llvm-svn: 205701
-
Craig Topper authored
llvm-svn: 205699
-
Craig Topper authored
llvm-svn: 205697
-
Serge Pavlov authored
llvm-svn: 205696
-
- Apr 06, 2014
-
-
Elena Demikhovsky authored
- take->release: LLVM has moved to C++11. MockWrapper became an instance of unique_ptr. - method symbol_iterator::increment disappeared recently, in this revision: r200442 | rafael | 2014-01-29 20:49:50 -0600 (Wed, 29 Jan 2014) | 9 lines Simplify the handling of iterators in ObjectFile. None of the object file formats reported error on iterator increment. In retrospect, that is not too surprising: no object format stores symbols or sections in a linked list or other structure that requires chasing pointers. As a consequence, all error checking can be done on begin() and end(). This reduces the text segment of bin/llvm-readobj in my machine from 521233 to 518526 bytes. My change mimics the change that the revision made to lib/DebugInfo/DWARFContext.cpp . - const_cast: Shut up a warning from gcc. I ran unittests/ExecutionEngine/JIT/Debug+Asserts/JITTests to make sure it worked. - Arch llvm-svn: 205689
-
NAKAMURA Takumi authored
It affected callee's stack pop in x86. It is one of devergences between cygwin and mingw since mingw-gcc-4.6. Added testcases to llvm/test/CodeGen/X86/win32_sret.ll for cygwin. llvm-svn: 205688
-
Simon Atanasyan authored
be used for indexing not only section's names. No functional changes. llvm-svn: 205687
-
David Blaikie authored
DebugInfo: Support namespace aliases as DW_TAG_imported_declaration instead of DW_TAG_imported_module I really should read the spec more often (and test GCC more often too). I just assumed that namespace aliases would be the same as using directives, except with a name. But apparently that's not how the DWARF standards suggests they be implemented. DWARF4 provides an example and other non-normative text suggesting that namespace aliases be implemented by named imported declarations intsead of named imported modules. So be it. llvm-svn: 205685
-
Argyrios Kyrtzidis authored
llvm-svn: 205683
-
David Blaikie authored
Also update a few null pointers in this function to be consistent with new null pointers being added. Patch by Robert Matusewicz! Differential Revision: http://reviews.llvm.org/D3123 llvm-svn: 205682
-