- Apr 03, 2014
-
-
Marshall Clow authored
llvm-svn: 205504
-
Rafael Espindola authored
All existing users explicitly ask for an address or a file offset. llvm-svn: 205503
-
Rafael Espindola authored
This should bring the arm buildbots back. llvm-svn: 205502
-
Rui Ueyama authored
An ordinal is set to each child of Input Graph, but no one actually uses it. The only piece of code that gets ordinaly values is sortInputElements in InputGraph.cpp, but it does not actually do anything -- we assign ordinals in increasing order just before calling sort, so when sort is called it's already sorted. It's no-op. We can simply remove it. No functionality change. Differential Revision: http://llvm-reviews.chandlerc.com/D3270 llvm-svn: 205501
-
Rafael Espindola authored
llvm-svn: 205500
-
Rafael Espindola authored
In particular, we only need to fetch the section if this is a relocatable object. No functionality change. llvm-svn: 205499
-
Juergen Ributzka authored
This code is no longer usefull, because we only compute and use the IDom once. There is no benefit in caching it anymore. llvm-svn: 205498
-
Jim Ingham authored
llvm-svn: 205497
-
Jim Ingham authored
llvm-svn: 205496
-
Hal Finkel authored
When a vector type legalizes to a larger vector type, and the target does not support the associated extending load (or truncating store), then legalization will scalarize the load (or store) resulting in an associated scalarization cost. BasicTTI::getMemoryOpCost needs to account for this. Between this, and r205487, PowerPC on the P7 with VSX enabled shows: MultiSource/Benchmarks/PAQ8p/paq8p: 43% speedup SingleSource/Benchmarks/BenchmarkGame/puzzle: 51% speedup SingleSource/UnitTests/Vectorizer/gcc-loops 28% speedup (some of these are new; some of these, such as PAQ8p, just reverse regressions that VSX support would trigger) llvm-svn: 205495
-
Jim Ingham authored
I removed SetCallback from the Python API's since it wasn't actually useful, and added SetScriptCallbackFunction, and SetScriptCallbackBody. So add these to the default constructor test case. llvm-svn: 205494
-
Rafael Espindola authored
This reverts commit r205479. It turns out that nm does use addresses, it is just that every reasonable relocatable ELF object has sections with address 0. I have no idea if those exist in reality, but it at least it shows that llvm-nm should use the name address. The added test was includes an unusual .o file with non 0 section addresses. I created it by hacking ELFObjectWriter.cpp. Really sorry for the churn. llvm-svn: 205493
-
Richard Trieu authored
llvm-svn: 205492
-
Ben Langmuir authored
Which we do in removeModules(). llvm-svn: 205491
-
Rui Ueyama authored
llvm-svn: 205490
-
Lang Hames authored
TargetInstrInfo::findCommutedOpIndices to enable VFMA*231 commutation, rather than abusing commuteInstruction. Thanks very much for the suggestion guys! llvm-svn: 205489
-
Jason Molenda authored
llvm-svn: 205488
-
Hal Finkel authored
For an cast (extension, etc.), the currently logic predicts a low cost if the associated operation (keyed on the destination type) is legal (or promoted). This is not true when the number of values required to legalize the type is changing. For example, <8 x i16> being sign extended by <8 x i32> is not generically cheap on PPC with VSX, even though sign extension to v4i32 is legal, because two output v4i32 values are required compared to the single v8i16 input value, and without custom logic in the target, this conversion will scalarize. llvm-svn: 205487
-
Rui Ueyama authored
llvm-svn: 205486
-
David Majnemer authored
Summary: MSVC always emits inline functions marked with the extern storage class specifier. The result is something similar to the opposite of __attribute__((gnu_inline)). This extension is also available in C. This fixes PR19264. Reviewers: rnk, rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3207 llvm-svn: 205485
-
Juergen Ributzka authored
llvm-svn: 205484
-
Renato Golin authored
llvm-svn: 205483
-
Ed Maste authored
A breakpoint at the resume address for "continue" is skipped. This is presumably the root cause for the Linux failure as well. llvm-svn: 205482
-
Lang Hames authored
opportunities in the current basic block, rather than just the last one seen. <rdar://problem/16478629> llvm-svn: 205481
-
Jim Ingham authored
on Mac OS X (in particular mach/machine.h). <rdar://problem/16494607> llvm-svn: 205480
-
Rafael Espindola authored
What llvm-nm prints depends on the file format. On ELF for example, if the file is relocatable, it prints offsets. If it is not, it prints addresses. Since it doesn't really need to care what it is that it is printing, use the generic term value. Fix or implement getSymbolValue to keep llvm-nm working. llvm-svn: 205479
-
Pete Cooper authored
Patch by Chris Bieneman llvm-svn: 205478
-
Fariborz Jahanian authored
'readonly' property. // rdar://16136439 llvm-svn: 205477
-
Hal Finkel authored
PPCTTI::getMemoryOpCost will now make use of BasicTTI::getMemoryOpCost to calculate the base cost of the memory access, and then adjust on top of that. There is no functionality change from this modification, but it will become important so that PPCTTI can take advantage of scalarization information for which BasicTTI::getMemoryOpCost will account in the near future. llvm-svn: 205476
-
Rui Ueyama authored
llvm-svn: 205475
-
Juergen Ributzka authored
Add comments and test case for [DAG] Keep the opaque constant flag when performing unary constant folding operations (r204737). llvm-svn: 205474
-
Adrian Prantl authored
llvm-svn: 205473
-
Lang Hames authored
on FMA3 memory operands. FMA3 instructions are VEX encoded, so they can load from unaligned memory. Testcase to follow, along with related patch. <rdar://problem/16478629> llvm-svn: 205472
-
Duncan P. N. Exon Smith authored
This reverts commit r199244. Conflicts: include/llvm-c/lto.h include/llvm/LTO/LTOCodeGenerator.h lib/LTO/LTOCodeGenerator.cpp llvm-svn: 205471
-
Rui Ueyama authored
llvm-svn: 205470
-
Rui Ueyama authored
llvm-svn: 205469
-
Juergen Ributzka authored
Add comments and test case for [X86TTI] Make constant base pointers for GetElementPtr opaque (r204739). llvm-svn: 205468
-
Richard Smith authored
to suggest a different syntax to get the same effect. llvm-svn: 205467
-
Rui Ueyama authored
llvm-svn: 205466
-
Saleem Abdulrasool authored
This changes the tests that were targeting ARM EABI to explicitly specify the environment rather than relying on the default. This breaks with the new Windows on ARM support when running the tests on Windows where the default environment is no longer EABI. Take the opportunity to avoid a pointless redirect (helps when trying to debug with providing a command line invocation which can be copy and pasted) and removing a few greps in favour of FileCheck. llvm-svn: 205465
-