- Apr 29, 2014
-
-
Peter Collingbourne authored
Differential Revision: http://reviews.llvm.org/D3523 llvm-svn: 207428
-
Nico Weber authored
llvm-svn: 207427
-
Hans Wennborg authored
llvm-svn: 207426
-
Rafael Espindola authored
No functionality change. This removes the last use of AliasedSymbol in ELFObjectWriter.cpp. llvm-svn: 207424
-
Chad Rosier authored
llvm-svn: 207423
-
- Apr 28, 2014
-
-
Aaron Ballman authored
llvm-svn: 207422
-
Rafael Espindola authored
No functionality change. llvm-svn: 207421
-
Tim Northover authored
It's bad enough that I have to look up 5 different levels of TableGen class definitions to work out what bits go where in a simple NEON instruction anyway, without having to keep track of umpteen unused parameters. llvm-svn: 207420
-
Rafael Espindola authored
The symbol table itself has no relocations, so it is not possible to represent things like a = undefined + 1 With the patch we just omit these variables. That matches the behaviour of the gnu assembler. llvm-svn: 207419
-
Rafael Espindola authored
This will allow us to extend this test to show that other symbols don't show up in the symbol table. llvm-svn: 207418
-
Kostya Serebryany authored
llvm-svn: 207417
-
Aaron Ballman authored
llvm-svn: 207416
-
Kostya Serebryany authored
[asan] split detect_odr_violation into two: =2 detects all ODR violations, =1 detects only those where the variable sizes are different. BTW, the detector seems to be working well and finding nice bugs. Early adopters are welcome. llvm-svn: 207415
-
Rafael Espindola authored
llvm-svn: 207414
-
Patrik Hagglund authored
X86_MAX_OPERANDS is changed to unsigned. Also, add range-based for loops for affected loops. This in turn needed an ArrayRef instead of a pointer-to-array in InternalInstruction. llvm-svn: 207413
-
Tim Northover authored
Someone couldn't bear to have a completely orthogonal set of floating-point registers, so we've got some instructions that only accept v0-v15 (coming in ARMv9, V128_prime: you're allowed v2, v3, v5, v7, ...). Anyway, we were permitting even the out of range registers during assembly (CodeGen handled it correctly). This adds a diagnostic. llvm-svn: 207412
-
Chandler Carruth authored
just handles the pre-DFS case. Also add some test cases for this case to make sure it works. llvm-svn: 207411
-
Chandler Carruth authored
contract (and be much more useful). It now provides exactly the post-order traversal a caller might need to perform on newly formed SCCs. llvm-svn: 207410
-
Chandler Carruth authored
mapping from a basic block to an incoming value, either for removal or just lookup, is linear in the number of predecessors, and we were doing this for every entry in the 'Preds' list which is in many cases almost all of them! Unfortunately, the fixes are quite ugly. PHI nodes just don't make this operation easy. The efficient way to fix this is to have a clever 'remove_if' operation on PHI nodes that lets us do a single pass over all the incoming values of the original PHI node, extracting the ones we care about. Then we could quickly construct the new phi node from this list. This would remove the remaining underlying quadratic movement of unrelated incoming values and the need for silly backwards looping to "minimize" how often we hit the quadratic case. This is the last obvious fix for PR19499. It shaves another 20% off the compile time for me, and while UpdatePHINodes remains in the profile, most of the time is now stemming from the well known inefficiencies of LVI and jump threading. llvm-svn: 207409
-
Viktor Kutuzov authored
llvm-svn: 207408
-
Benjamin Kramer authored
llvm-svn: 207407
-
Chandler Carruth authored
domtree. When finding a nearest common dominator, if neither A dominates B nor B dominates A, we immediately resorted to a tree walk. The tree walk here is *particularly* expensive because we have to build a (potentially very large) set for one side's dominators and compare it with the other side's. If at any point we have DFS info, we don't need to do any of this. We can just walk up one side's immediate dominators and return the first one which dominates the other side. Because of the DFS info, the dominates queries are trivially constant time. This reduces the optimizers time in the test case on PR19499 by 70%. It now optimizes in about 30 seconds for me. And there is still more to be done for this case. llvm-svn: 207406
-
Daniel Jasper authored
Before: *(int *)(p &~3UL) = 0; After: *(int *)(p & ~3UL) = 0; This fixes llvm.org/PR19464. llvm-svn: 207405
-
Dan Liew authored
abort while configuring if doxygen could not be found. This is desirable because if the build is going to fail then it should fail as early as possible. llvm-svn: 207404
-
Chandler Carruth authored
by avoiding inlining massive switches merely because they have no instructions in them. These switches still show up where we fail to form lookup tables, and in those cases they are actually going to cause a very significant code size hit anyways, so inlining them is not the right call. The right way to fix any performance regressions stemming from this is to enhance the switch-to-lookup-table logic to fire in more places. This makes PR19499 about 5x less bad. It uncovers a second compile time problem in that test case that is unrelated (surprisingly!). llvm-svn: 207403
-
Daniel Jasper authored
This fixes llvm.org/PR19482. Before: switch (a) { case(B) : return; } After: switch (a) { case (B): return; } llvm-svn: 207402 -
Hao Liu authored
llvm-svn: 207401
-
Daniel Jasper authored
This fixes llvm.org/PR19450. Before: @interface BookmarkHomeHandsetViewController ()<BookmarkAllCollectionViewDelegate, BookmarkFolderCollectionViewDelegate, BookmarkMenuViewControllerDelegate, BookmarkSearchViewControllerDelegate> { } After: @interface aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ()< aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa> { } llvm-svn: 207400 -
Hao Liu authored
llvm-svn: 207399
-
Todd Fiala authored
Fixed up typo in lldb-gdbserver name missed when working on the OS X side earlier today for debugserver support. llvm-svn: 207398
-
Craig Topper authored
llvm-svn: 207397
-
Nico Weber authored
This exposed a leak, fix that. llvm-svn: 207396
-
Todd Fiala authored
TestLldbGdbServer now supports both lldb-gdbserver (llgs) and debugserver tests. Similar to the dsym/dwarf tests, they allow running the same underlying gdb remote protocol tests against lldb-gdbserver and debugserver. This will help make sure the protocol-level tests for lldb-gdbserver faithfully represent what debugserver does on OS X. Switched back gdb remote protocol test logging to warning and above (accidentally submitted it at debug level in a recent commit). llvm-svn: 207395
-
Craig Topper authored
llvm-svn: 207394
-
Saleem Abdulrasool authored
Use C++11 range-based loops rather than explicit constructors. NFC. llvm-svn: 207393
-
Alp Toker authored
It's possible that the "comment AST" may be replaced or split out in the midterm, any anyway this makes the headers easier to read. Developers don't currently need to include "clang-c/Documentation.h" explicitly and there's no macro to test for availability yet. The raw comment and brief comment accessors have been kept in Index.h though brief support may also move here as a separate proposal. This is not a deprecation, just a gentle separation of concerns as we look to simplify the built-in representation of comment nodes and support external comment processors. llvm-svn: 207392
-
Argyrios Kyrtzidis authored
rdar://16223810 llvm-svn: 207391
-
Saleem Abdulrasool authored
llvm-svn: 207390
-
Chandler Carruth authored
our own portability system to cope without snprintf. llvm-svn: 207389
-
Chandler Carruth authored
Unix-like OSes. llvm-svn: 207388
-