- Dec 02, 2013
-
-
Rafael Espindola authored
llvm-svn: 196065
-
Alp Toker authored
llvm-svn: 196064
-
Rafael Espindola authored
llvm-svn: 196063
-
Alp Toker authored
llvm-svn: 196062
-
Alp Toker authored
llvm-svn: 196061
-
Alp Toker authored
llvm-svn: 196060
-
Rafael Espindola authored
The PPC GetSymbolFromOperand already prefixed stubs of MO_ExternalSymbol, so this should be a nop. llvm-svn: 196059
-
Marshall Clow authored
llvm-svn: 196058
-
Alp Toker authored
llvm-svn: 196056
-
Rui Ueyama authored
llvm-svn: 196055
-
Alp Toker authored
llvm-svn: 196054
-
Alp Toker authored
No change in functionality. llvm-svn: 196053
-
- Dec 01, 2013
-
-
Rafael Espindola authored
llvm-svn: 196052
-
Andrew Trick authored
llvm-svn: 196051
-
Rafael Espindola authored
Before we were considering them only when instantiating templates. This fixes pr18033. llvm-svn: 196050
-
Benjamin Kramer authored
This would crash if the token is used in another diagnostic. PR18051. llvm-svn: 196048
-
Tim Northover authored
Previously, we clobbered callee-saved registers when folding an "add sp, #N" into a "pop {rD, ...}" instruction. This change checks whether a register we're going to add to the "pop" could actually be live outside the function before doing so and should fix the issue. This should fix PR18081. llvm-svn: 196046
-
Benjamin Kramer authored
LLVM r196044 should make it pass. llvm-svn: 196045
-
Benjamin Kramer authored
- Actually abort when an error occurred. - Check that the frontend lookup worked when parsing length/size/type operators. Tested by a clang test. PR18096. llvm-svn: 196044
-
Michael Kuperstein authored
llvm-svn: 196042
-
Sylvestre Ledru authored
llvm-svn: 196041
-
Rui Ueyama authored
/DEBUG option is to make the linker to emit debug information to the resulting executable. It's not for enable debugging of the linker itself. llvm-svn: 196040
-
Alp Toker authored
llvm-svn: 196038
-
Alp Toker authored
See thread "clang-format turning tests into no-ops" llvm-svn: 196037
-
Bill Wendling authored
llvm-svn: 196006
-
Bill Wendling authored
error: invalid conversion from 'unsigned char' to '{anonymous}::Sequence' llvm-svn: 196004
-
Alp Toker authored
This is a private class member so the fix shouldn't impact external projects. llvm-svn: 195985
-
- Nov 30, 2013
-
-
Sergey Matveev authored
llvm-svn: 195983
-
Saleem Abdulrasool authored
gcc treats [[gnu:const]], [[gnu::__const]], and [[gnu:__const__]] as all being equivalent. Add an additional test case to ensure that we do not miss the last case. llvm-svn: 195982
-
Hal Finkel authored
This adds a scheduling model for the POWER7 (P7) core, and enables the machine-instruction scheduler when targeting the P7. Scheduling for the P7, like earlier ooo PPC cores, requires considering both dispatch group hazards, and functional unit resources and latencies. These are both modeled in a combined itinerary. Dispatch group formation is still handled by the post-RA scheduler (which still needs to be updated for the P7, but nevertheless does a pretty good job). One interesting aspect of this change is that I've also enabled to use of AA duing CodeGen for the P7 (just as it is for the embedded cores). The benchmark results seem to support this decision (see below), and while this is normally useful for in-order cores, and not for ooo cores like the P7, I think that the dispatch slot hazards are enough like in-order resources to make the AA useful. Test suite significant performance differences (where negative is a speedup, and positive is a regression) vs. the current situation: MultiSource/Benchmarks/BitBench/drop3/drop3 with AA: N/A without AA: -28.7614% +/- 19.8356% (significantly against AA) MultiSource/Benchmarks/FreeBench/neural/neural with AA: -17.7406% +/- 11.2712% without AA: N/A (significantly in favor of AA) MultiSource/Benchmarks/SciMark2-C/scimark2 with AA: -11.2079% +/- 1.80543% without AA: -11.3263% +/- 2.79651% MultiSource/Benchmarks/TSVC/Symbolics-flt/Symbolics-flt with AA: -41.8649% +/- 17.0053% without AA: -34.5256% +/- 23.7072% MultiSource/Benchmarks/mafft/pairlocalalign with AA: 25.3016% +/- 17.8614% without AA: 38.6629% +/- 14.9391% (significantly in favor of AA) MultiSource/Benchmarks/sim/sim with AA: N/A without AA: 13.4844% +/- 7.18195% (significantly in favor of AA) SingleSource/Benchmarks/BenchmarkGame/Large/fasta with AA: 15.0664% +/- 6.70216% without AA: 12.7747% +/- 8.43043% SingleSource/Benchmarks/BenchmarkGame/puzzle with AA: 82.2713% +/- 26.3567% without AA: 75.7525% +/- 41.1842% SingleSource/Benchmarks/Misc/flops-2 with AA: -37.1621% +/- 20.7964% without AA: -35.2342% +/- 20.2999% (significantly in favor of AA) These are 99.5% confidence intervals from 5 runs per configuration. Regarding the choice to turn on AA during CodeGen, of these results, four seem significantly in favor of using AA, and one seems significantly against. I'm not making this decision based on these numbers alone, but these results seem consistent with results I have from other tests, and so I think that, on balance, using AA is a win. llvm-svn: 195981
-
Hal Finkel authored
In preparation for adding scheduling definitions for the POWER7, split some PPC itinerary classes so that the P7's latencies and hazards can be better described. For the most part, this means differentiating indexed from non-index pre-increment loads and stores. Also, differentiate single from double-precision sqrt. No functionality change intended (except for a more-specific latency for single-precision sqrt on the A2). llvm-svn: 195980
-
Hal Finkel authored
Convert this test to FileCheck, and improve it to check for the instructions it is trying to exclude instead of checking for register use (especially because grepping for r1 can be thrown off, for example, by a use of r12). llvm-svn: 195979
-
Hal Finkel authored
Use CHECK-DAG to make these regression tests more resilient against changes in instruction scheduling. llvm-svn: 195978
-
Hal Finkel authored
Some of these tests did not specify a cpu but were also sensitive to instruction scheduling and/or register assignment choices. A few others similarly-sensitive tests specified a cpu (often the POWER7), and while the P7 currently uses the default model for PPC64, this will soon change. For those tests which should not really be cpu-dependent anyway, the cpu is set to the generic 'ppc64'. llvm-svn: 195977
-
Zoran Jovanovic authored
llvm-svn: 195976
-
Zoran Jovanovic authored
llvm-svn: 195975
-
Mark Seaborn authored
Align to 8 spaces instead of an inconsistent 9. llvm-svn: 195974
-
Daniel Sanders authored
This prevents the compiler from emitting invalid ld.[bhwd]'s and st.[bhwd]'s when the stack frame is between 512 and 32,768 bytes in size. llvm-svn: 195973
-
Daniel Sanders authored
No functional change. An if-statement has been split into two nested if-statements. llvm-svn: 195972
-
Juergen Ributzka authored
llvm-svn: 195971
-