- Jun 12, 2012
-
-
Anna Zaks authored
llvm-svn: 158335
-
Hal Finkel authored
This functionality is based on what is done on ARM, and enables selecting PPC CPUs in a way compatible with gcc's driver. Also, mirroring gcc (and what is done on x86), -mcpu=native support was added. This uses the host cpu detection from LLVM (which will also soon be updated by refactoring code currently in backend). In order for this to work, the target needs a list of valid CPUs -- we now accept all CPUs accepted by LLVM. A few preprocessor defines for common CPU types have been added. llvm-svn: 158334
-
Anna Zaks authored
llvm-svn: 158333
-
Anna Zaks authored
llvm-svn: 158332
-
Anna Zaks authored
llvm-svn: 158331
-
Anna Zaks authored
llvm-svn: 158330
-
- Jun 11, 2012
-
-
Chad Rosier authored
assembly is completely untested and unsupported. llvm-svn: 158329
-
Jakob Stoklund Olesen authored
The test is really checking the prolog/epilog load/store multiple formation. llvm-svn: 158328
-
Johnny Chen authored
debugserver needs to be able to posix_spawn debugging apps that have ".app" in their path that aren't bundles llvm-svn: 158327
-
Chad Rosier authored
llvm-svn: 158325
-
Hal Finkel authored
llvm-svn: 158324
-
Hal Finkel authored
The PPC target feature gpul (IsGigaProcessor) was only used for one thing: To enable the generation of the MFOCRF instruction. Furthermore, this instruction is available on other PPC cores outside of the G5 line. This feature now corresponds to the HasMFOCRF flag. No functionality change. llvm-svn: 158323
-
Hal Finkel authored
llvm-svn: 158322
-
Jordan Rose authored
While collections containing nil elements can still be iterated over in an Objective-C for-in loop, the most common Cocoa collections -- NSArray, NSDictionary, and NSSet -- cannot contain nil elements. This checker adds that assumption to the analyzer state. This was the cause of some minor false positives concerning CFRelease calls on objects in an NSArray. llvm-svn: 158319
-
Jordan Rose authored
This has a small hit in the case where only one class is interesting (NilArgChecker) but is a big improvement when looking for one of several interesting classes (VariadicMethodTypeChecker), in which the most common case is that there is no match. llvm-svn: 158318
-
Benjamin Kramer authored
It found a lot of cruft in LLVM that I removed last week and I couldn't find any false positives. Time to give it more testing. llvm-svn: 158317
-
Jakob Stoklund Olesen authored
Patch by James Benton! llvm-svn: 158316
-
Hal Finkel authored
This is necessary on Linux and supported on Darwin, see PR2604. llvm-svn: 158315
-
Hal Finkel authored
This functionality mirrors that available on PPC/Darwin. llvm-svn: 158314
-
Hal Finkel authored
No functional change; these will be used by upcoming scheduler enhancements. llvm-svn: 158313
-
Alexander Potapenko authored
llvm-svn: 158312
-
Jakob Stoklund Olesen authored
The TableGenBackend base class doesn't do much, and will be removed completely soon. Patch by Sean Silva! llvm-svn: 158311
-
Jakob Stoklund Olesen authored
This showed up the first time rend() was called on a bundled instruction in the Mips backend. Also avoid dereferencing end() in bundle_iterator::operator++(). We still don't have a place to put unit tests for this stuff. llvm-svn: 158310
-
Rafael Espindola authored
only using the linkage. Use and test both, documenting that considering the visibility and linkage of template parameters is a difference from gcc. llvm-svn: 158309
-
Gregory Szorc authored
llvm-svn: 158307
-
Tobias Grosser authored
llvm-svn: 158306
-
Benjamin Kramer authored
llvm-svn: 158305
-
Tobias Grosser authored
Contributed by: Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 158304
-
Bill Wendling authored
We turned off the CMN instruction because it had semantics which we weren't getting correct. If we are comparing with an immediate, then it's okay to use the CMN instruction. <rdar://problem/7569620> llvm-svn: 158302
-
Benjamin Kramer authored
No functionality change. llvm-svn: 158301
-
Craig Topper authored
llvm-svn: 158300
-
James Dennett authored
such as "protocol" and "expression" being implicitly turned into links to mistakenly-generated Doxygen pages: - Escaping @ symbols when Doxygen would otherwise incorrectly interpret them; - Escaping # symbols when they're not intended as explicit Doxygen link requests, such as when discussing preprocessor directives; - In one odd case, unescaping @ in @__experimental_modules_import, because Doxygen wrote '\@' to the output in that case, causing the example in the description of ImportDecl to be wrong; and - Fixing a typo: @breif -> @brief. llvm-svn: 158299
-
Argyrios Kyrtzidis authored
llvm-svn: 158298
-
- Jun 10, 2012
-
-
Benjamin Kramer authored
This saves a cast, and zext is more expensive on platforms with subreg support than trunc is. This occurs in the BSD implementation of memchr(3), see PR12750. On the synthetic benchmark from that bug stupid_memchr and bsd_memchr have the same performance now when not inlining either function. stupid_memchr: 323.0us bsd_memchr: 321.0us memchr: 479.0us where memchr is the llvm-gcc compiled bsd_memchr from osx lion's libc. When inlining is enabled bsd_memchr still regresses down to llvm-gcc memchr time, I haven't fully understood the issue yet, something is grossly mangling the loop after inlining. llvm-svn: 158297
-
Hal Finkel authored
Over the entire test-suite, this has an insignificantly negative average performance impact, but reduces some of the worst slowdowns from the anti-dep. change (r158294). Largest speedups: SingleSource/Benchmarks/Stanford/Quicksort - 28% SingleSource/Benchmarks/Stanford/Towers - 24% SingleSource/Benchmarks/Shootout-C++/matrix - 23% MultiSource/Benchmarks/SciMark2-C/scimark2 - 19% MultiSource/Benchmarks/MiBench/automotive-bitcount/automotive-bitcount - 15% (matrix and automotive-bitcount were both in the top-5 slowdown list from the anti-dep. change) Largest slowdowns: MultiSource/Benchmarks/McCat/03-testtrie/testtrie - 28% MultiSource/Benchmarks/mediabench/gsm/toast/toast - 26% MultiSource/Benchmarks/MiBench/automotive-susan/automotive-susan - 21% SingleSource/Benchmarks/CoyoteBench/lpbench - 20% MultiSource/Applications/d/make_dparser - 16% llvm-svn: 158296
-
Nadav Rotem authored
Patch by Michael Kuperstein. llvm-svn: 158295
-
Hal Finkel authored
Using 'all' instead of 'critical' would be better because it would make it easier to satisfy the bundling constraints, but, as noted in the FIXME, that is currently not possible with the crs. This yields an average 1% speedup over the entire test suite (on Power 7). Largest speedups: SingleSource/Benchmarks/Shootout-C++/moments - 40% MultiSource/Benchmarks/McCat/03-testtrie/testtrie - 28% SingleSource/Benchmarks/BenchmarkGame/nsieve-bits - 26% SingleSource/Benchmarks/McGill/misr - 23% MultiSource/Applications/JM/ldecod/ldecod - 22% Largest slowdowns: SingleSource/Benchmarks/Shootout-C++/matrix - -29% SingleSource/Benchmarks/Shootout-C++/ary3 - -22% MultiSource/Benchmarks/BitBench/uuencode/uuencode - -18% SingleSource/Benchmarks/Shootout-C++/ary - -17% MultiSource/Benchmarks/MiBench/automotive-bitcount/automotive-bitcount - -15% llvm-svn: 158294
-
Richard Smith authored
consider them when enumerating builtin operator candidates. llvm-svn: 158293
-
Craig Topper authored
llvm-svn: 158292
-
Craig Topper authored
Add intrinsics for immediate form of XOP vprot instructions. Use i128mem instead of f128mem for integer XOP instructions. llvm-svn: 158291
-