- Apr 05, 2014
-
-
Hal Finkel authored
This provides more realistic costs for the insert/extractelement instructions (which are load/store pairs), accounts for the cheap unaligned Altivec load sequence, and for unaligned VSX load/stores. Bad news: MultiSource/Applications/sgefa/sgefa - 35% slowdown (this will require more investigation) SingleSource/Benchmarks/McGill/queens - 20% slowdown (we no longer vectorize this, but it was a constant store that was scalarized) MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2 - 2% slowdown Good news: SingleSource/Benchmarks/Shootout/ary3 - 54% speedup SingleSource/Benchmarks/Shootout-C++/ary - 40% speedup MultiSource/Benchmarks/Ptrdist/ks/ks - 35% speedup MultiSource/Benchmarks/FreeBench/neural/neural - 30% speedup MultiSource/Benchmarks/TSVC/Symbolics-flt/Symbolics-flt - 20% speedup Unfortunately, estimating the costs of the stack-based scalarization sequences is hard, and adjusting these costs is like a game of whac-a-mole :( I'll revisit this again after we have better codegen for vector extloads and truncstores and unaligned load/stores. llvm-svn: 205658
-
Hal Finkel authored
Remove the declaration of an unimplemented function. llvm-svn: 205657
-
Andrew Trick authored
llvm-svn: 205656
-
David Blaikie authored
We also don't need to duplicate the name in the LinkageName field. Just leave it empty. llvm-svn: 205655
-
Rui Ueyama authored
llvm-svn: 205654
-
Kaelyn Takata authored
obviously won't work. Specifically, don't suggest methods (static or not) from unrelated classes when the expression is a method call through a specific object. llvm-svn: 205653
-
Ed Maste authored
These tests started failing on FreeBSD after r205497 "Make the fail messages" llvm.org/pr19347 llvm-svn: 205652
-
David Blaikie authored
See the comment for CodeGenFunction::tryEmitAsConstant that describes how in some contexts (lambdas) we must not emit references to the variable, but instead use the constant directly - because of this we end up emitting a constant for the variable, as well as emitting the variable itself. Should we just skip putting the variable on the stack at all and omit the debug info for the constant? It's not clear to me - what if the address of the local is taken? llvm-svn: 205651
-
Saleem Abdulrasool authored
This introduces the definitions needed for the Windows on ARM target. Add target definitions for both the MSVC environment and the MSVC + Itanium C++ ABI environment. The Visual Studio definitions correspond to the definitions provided by Visual Studio 2012. llvm-svn: 205650
-
Matt Arsenault authored
This way, you can check the number of sign bits in the operands. The depth parameter it already has is pretty useless without this. llvm-svn: 205649
-
Matt Arsenault authored
llvm-svn: 205648
-
Juergen Ributzka authored
llvm-svn: 205647
-
Fariborz Jahanian authored
with -Wconversion. // rdar://16502418 llvm-svn: 205646
-
Michael J. Spencer authored
llvm-svn: 205645
-
Rui Ueyama authored
llvm-svn: 205644
-
Rui Ueyama authored
llvm-svn: 205643
-
Rui Ueyama authored
llvm-svn: 205642
-
Rui Ueyama authored
llvm-svn: 205641
-
Greg Clayton authored
This fix reduces the stack size of SymbolFileDWARF::ParseType(). It seems that clang is not very good at sharing locations on the stack with local variables in large functions that have many blocks and each variable gets unique locations. The reduction in size was done by: 1 - removing some large locals that were default constructed by not used 2 - Placing some larger local variables into std::unique_ptr<> to make them on the heap 3 - removing local variables there were large and being populated but not being used 4 - reducing the size of some typedefs to llvm::SmallVector<T, N> so that N wasn’t excessively large <rdar://problem/16431645> llvm-svn: 205640
-
Rui Ueyama authored
llvm-svn: 205639
-
Greg Clayton authored
llvm-svn: 205638
-
Rui Ueyama authored
This reverts commit r205635 that was submitted by mistake. llvm-svn: 205637
-
Jim Ingham authored
<rdar://problem/16179718> target.expr-prefix contents appear to be cached for an entire session llvm-svn: 205636
-
Rui Ueyama authored
llvm-svn: 205635
-
Greg Clayton authored
Don’t crash when we get an invalid .debug_aranges set, just ignore it. Also print out warning messages if LLDB_CONFIGURATION_DEBUG is defined. <rdar://problem/16516343> llvm-svn: 205634
-
Jim Grosbach authored
llvm-svn: 205633
-
Ben Langmuir authored
Specifically, we pass two -ivfsoverlay yaml files, and the topmost one remaps the module map file. llvm-svn: 205632
-
Kai Nacke authored
This patch adds the Octeon cnMips instructions seqi/snei and v3mulu/vmm0/vmulu. It is only for the assembler. Test case is included. Reviewed by: Daniel.Sanders@imgtec.com llvm-svn: 205631
-
- Apr 04, 2014
-
-
Hal Finkel authored
gcc inline asm supports specifying "cc" as a clobber of all condition registers. Add just enough modeling of the full register to make this work. Fixed PR19326. llvm-svn: 205630
-
Aaron Ballman authored
In preparation for being able to use simple Boolean logic expressions involving capabilities, the semantics for attributes now looks through the types of the constituent parts of a capability expression instead of at the aggregate expression type. llvm-svn: 205629
-
Daniel Sanders authored
Summary: They behave in accordance with the Has2008 and ABS2008 configuration bits of the processor which are used to select between the 1985 and 2008 versions of IEEE 754. In 1985 mode, these instructions are arithmetic (i.e. they raise invalid operation exceptions when given NaN), in 2008 mode they are non-arithmetic (i.e. they are copies). nmadd.[ds], and nmsub.[ds] are still subject to -enable-no-nans-fp-math because the ISA spec does not explicitly state that they obey Has2008 and ABS2008. Reviewers: matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D3274 llvm-svn: 205628
-
Evgeniy Stepanov authored
llvm-svn: 205627
-
Tim Northover authored
When LLVM sees something like (v1iN (vselect v1i1, v1iN, v1iN)) it can decide that the result is OK (v1i64 is legal on AArch64, for example) but it still need scalarising because of that v1i1. There was no code to do this though. AArch64 and ARM64 have DAG combines to produce efficient code and prevent that occuring in *most* such situations, but there are edge cases that they miss. This adds a legalization to cope with that. llvm-svn: 205626
-
Tim Northover authored
There were several overlapping problems here, and this solution is closely inspired by the one adopted in AArch64 in r201381. Firstly, scalarisation of v1i1 setcc operations simply fails if the input types are legal. This is fixed in LegalizeVectorTypes.cpp this time, and allows AArch64 code to be simplified slightly. Second, vselect with such a setcc feeding into it ends up in ScalarizeVectorOperand, where it's not handled. I experimented with an implementation, but found that whatever DAG came out was rather horrific. I think Hao's DAG combine approach is a good one for quality, though there are edge cases it won't catch (to be fixed separately). Should fix PR19335. llvm-svn: 205625
-
Joey Gouly authored
This allows 'half' to be printed as 'half' and not as '__fp16'. Patch by Fraser Cormack! llvm-svn: 205624
-
Alexey Samsonov authored
llvm-svn: 205623
-
Stepan Dyatkovskiy authored
Removed "GNU Assembler extension (compatibility)" definitions from ARMInstrInfo.td Fixed ARMAsmParser::ParseInstruction GNU compatability branch, so it also works for thumb mode from now. Added new tests. llvm-svn: 205622
-
NAKAMURA Takumi authored
Sorry for the breakage. For now, it will fail in two ways: 1. To fail for targeting x86_64-mingw32. <stdin>:131:8: note: possible intended match here 0x30830a0100000002 3 0 1 0 0 is_stmt 2. To fail not to find the target x86. llc: : error: unable to get target for 'x86_64-unknown-unknown', see --version and --triple. llvm-svn: 205621 -
Alexey Bataev authored
llvm-svn: 205620
-
Dmitry Vyukov authored
we've seen a flake on this test next time it happens we will be able to gather some info llvm-svn: 205619
-