Permalink
Switch branches/tags
Nothing to show
Commits on Jan 14, 2015
  1. Removed PPC test contaited in LM32 test.

    JP Bonn committed Jan 14, 2015
  2. Merge branch 'master' of http://llvm.org/git/llvm

    JP Bonn committed Jan 14, 2015
  3. Override the TLI callback enableAggressiveFMAFusion and return true. …

    Olivier Sallenave committed Jan 14, 2015
    …Indeed, fmul, fmadd and fadd nodes cost the same number of cycles, so we can enable more combining heuristics to produce more fmadd nodes.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225984 91177308-0d34-0410-b5e6-96231b3b80d8
  4. Handle a symbol being undefined.

    espindola committed Jan 14, 2015
    This can happen if:
    * It is present in a comdat in one file.
    * It is not present in the comdat of the file that is kept.
    * Is is not used.
    
    This should fix the LTO boostrap.
    
    Thanks to Takumi NAKAMURA for setting up the bot!
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225983 91177308-0d34-0410-b5e6-96231b3b80d8
  5. Merge branch 'master' of http://llvm.org/git/llvm

    JP Bonn committed Jan 14, 2015
  6. Add disassembler tests for mips32r2 platform. There are no functional…

    Vladimir Medic committed Jan 14, 2015
    … changes.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225980 91177308-0d34-0410-b5e6-96231b3b80d8
  7. reapply: SLPVectorizer: Cache results from memory alias checking.

    eeckstein committed Jan 14, 2015
    This speeds up the dependency calculations for blocks with many load/store/call instructions.
    Beside the improved runtime, there is no functional change.
    
    Compared to the original commit, this re-applied commit contains a bug fix which ensures that there are
    no incorrect collisions in the alias cache.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225977 91177308-0d34-0410-b5e6-96231b3b80d8
  8. [cleanup] Re-sort all the #include lines in LLVM using

    chandlerc committed Jan 14, 2015
    utils/sort_includes.py.
    
    I clearly haven't done this in a while, so more changed than usual. This
    even uncovered a missing include from the InstrProf library that I've
    added. No functionality changed here, just mechanical cleanup of the
    include order.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225974 91177308-0d34-0410-b5e6-96231b3b80d8
  9. Correct POP handling for v7m

    Jyoti Allur committed Jan 14, 2015
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225972 91177308-0d34-0410-b5e6-96231b3b80d8
  10. [dom] Make the DominatorTreeBase not a dynamic class!

    chandlerc committed Jan 14, 2015
    Now that the passes are wrappers around this, we no longer need
    a vtable, virtual destructor, and other associated mess. This is
    particularly nice to me as this is a class template. =]
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225970 91177308-0d34-0410-b5e6-96231b3b80d8
  11. [PM] Port domtree to the new pass manager (at last).

    chandlerc committed Jan 14, 2015
    This adds the domtree analysis to the new pass manager. The analysis
    returns the same DominatorTree result entity used by the old pass
    manager and essentially all of the code is shared. We just have
    different boilerplate for running and printing the analysis.
    
    I've converted one test to run in both modes just to make sure this is
    exercised while both are live in the tree.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225969 91177308-0d34-0410-b5e6-96231b3b80d8
  12. [mips] Refine octeon instructions seq/seqi/sne/snei

    Kai Nacke committed Jan 14, 2015
    This commit refines the pattern for the octeon seq/seqi/sne/snei instructions.
    The target register is set to 0 or 1 according to the result of the comparison.
    In C, this is something like
    
    rd = (unsigned long)(rs == rt)
    
    This commit adds a zext to bring the result to i64. With this change the
    instruction is selected for this type of code. (gcc produces the same code for
    the above C code.)
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225968 91177308-0d34-0410-b5e6-96231b3b80d8
  13. Add disassembler tests for mips32r2 platform. There are no functional…

    Vladimir Medic committed Jan 14, 2015
    … changes.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225967 91177308-0d34-0410-b5e6-96231b3b80d8
  14. [PM] Make DominatorTrees (corectly) movable so that we can move them

    chandlerc committed Jan 14, 2015
    into the new pass manager's analysis cache which stores results
    by-value.
    
    Technically speaking, the dom trees were originally not movable but
    copyable! This, unsurprisingly, didn't work at all -- the copy was
    shallow and just resulted in rampant memory corruption. This change
    explicitly forbids copying (as it would need to be a deep copy) and
    makes them explicitly movable with the unsurprising boiler plate to
    member-wise move them because we can't rely on MSVC to generate this
    code for us. =/
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225966 91177308-0d34-0410-b5e6-96231b3b80d8
  15. Use the integrated assembler by default on SPARC.

    brad0 committed Jan 14, 2015
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225957 91177308-0d34-0410-b5e6-96231b3b80d8
  16. Use the operand vector instead so inline assembly can be validated too

    majnemer committed Jan 14, 2015
    The buildbots got upset after r225941, this should hopefully fix things.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225954 91177308-0d34-0410-b5e6-96231b3b80d8
  17. SelectionDAG: add a -filter-view-dags option to llc

    joker-eph committed Jan 14, 2015
        
    This option takes the name of the basic block you want to visualize
    with -view-*-dags
    
    Differential Revision: http://reviews.llvm.org/D6948
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225953 91177308-0d34-0410-b5e6-96231b3b80d8
  18. DAG Combiner: Fold SelectCC When Cond is UNDEF

    joker-eph committed Jan 14, 2015
    In case folding a node end up with a NaN as operand for the select, 
    the folding of the condition of the selectcc node returns "UNDEF".
    
    Differential Revision: http://reviews.llvm.org/D6889
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225952 91177308-0d34-0410-b5e6-96231b3b80d8
  19. Add assertions for out of bound index in ComputeLinearIndex

    joker-eph committed Jan 14, 2015
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225951 91177308-0d34-0410-b5e6-96231b3b80d8
  20. X86: only access operands if they are present

    compnerd committed Jan 14, 2015
    If there is no associated immediate (MS style inline asm), do not try to access
    the operand, assume that it is valid.  This should fix the buildbots after SVN
    r225941.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225950 91177308-0d34-0410-b5e6-96231b3b80d8
  21. Fold a loop for array processing in ComputeLinearIndex

    joker-eph committed Jan 14, 2015
        
    When processing an array, every Elt has the same layout, it is
    useless to recursively call each ComputeLinearIndex on each element.
    Just do it once and multiply by the number of elements.
        
    Differential Revision: http://reviews.llvm.org/D6832
    
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225949 91177308-0d34-0410-b5e6-96231b3b80d8
  22. Revert "Insert random noops to increase security against ROP attacks …

    jfbastien committed Jan 14, 2015
    …(llvm)"
    
    This reverts commit:
    http://reviews.llvm.org/D3392
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225948 91177308-0d34-0410-b5e6-96231b3b80d8
  23. NVPTX: Use MapMetadata() instead of custom/stale/untested logic

    dexonsmith committed Jan 14, 2015
    Copy the `GVMap` over to a standard `ValueToValueMapTy` so that we can
    reuse the `MapMetadata()` logic.  Unfortunately the `GVMap` can't just
    be replaced, since `MapMetadata()` likes to modify the map, but at least
    this will prevent NVPTX from bitrotting.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225944 91177308-0d34-0410-b5e6-96231b3b80d8
  24. NVPTX: Remove bogus remap logic for global variable address spaces

    dexonsmith committed Jan 14, 2015
    The comment is incorrect, and the code mangles debug info.  Remove the
    bad logic, which wasn't tested anyway.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225943 91177308-0d34-0410-b5e6-96231b3b80d8
  25. X86: validate 'int' instruction

    compnerd committed Jan 14, 2015
    The int instruction takes as an operand an 8-bit immediate value.  Validate that
    the input is valid rather than silently truncating the value.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225941 91177308-0d34-0410-b5e6-96231b3b80d8
  26. Disable a couple of tests, CodeGen/X86/noop-insert.ll and CodeGen/X86…

    chapuni committed Jan 14, 2015
    …/noop-insert-percentage.ll, in r225908, to unbreak tests.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225940 91177308-0d34-0410-b5e6-96231b3b80d8
  27. [dom] Remove extraneous inline keywords. Template functions and inline

    chandlerc committed Jan 14, 2015
    class members are implicitly "inline", no key word needed.
    
    Naturally, this could change how LLVM inlines these functions because
    <GRR>, but that's not an excuse to use the keyword. ;]
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225939 91177308-0d34-0410-b5e6-96231b3b80d8
  28. [dom] The formatting of the generic domtree has bitrotted over the years

    chandlerc committed Jan 14, 2015
    significantly. Clean it up with the help of clang-format.
    
    I've touched this up by hand in a couple of places that weren't quite
    right (IMO). I think most of these actually have bugs open about
    already.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225938 91177308-0d34-0410-b5e6-96231b3b80d8
  29. [dom] Clean up some comments in this header that were confusingly

    chandlerc committed Jan 14, 2015
    formatted or placed incorrectly.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225937 91177308-0d34-0410-b5e6-96231b3b80d8
  30. [dom] Add a basic dominator tree test.

    chandlerc committed Jan 14, 2015
    Correct, we have *zero* basic testing of the dominator tree in the
    regression test suite. There is a single test that even prints it out,
    and that test only checks a single line of the output. There are
    a handful of tests that check post dominators, but all of those are
    looking for bugs rather than just exercising the basic machinery.
    
    This test is super boring and unexciting. But hey, it's something.
    I needed there to be something so I could switch the basic test to run
    with both the old and new pass manager.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225936 91177308-0d34-0410-b5e6-96231b3b80d8
  31. Fix a wrong comment in LoopVectorize.

    Hao Liu committed Jan 14, 2015
      I.E. more than two -> exactly two
    Fix a typo function name in LoopVectorize.
      I.E. collectStrideAcccess() -> collectStrideAccess()
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225935 91177308-0d34-0410-b5e6-96231b3b80d8
  32. TargetInstrInfo.h: Fix \param in r225772. [-Wdocumentation]

    chapuni committed Jan 14, 2015
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225933 91177308-0d34-0410-b5e6-96231b3b80d8
  33. Disable -Wunknown-pragmas in a test so that Clang without -Wself-move…

    Richard Trieu committed Jan 14, 2015
    … will not
    
    complain that the flag doesn't exist.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225931 91177308-0d34-0410-b5e6-96231b3b80d8
  34. ARM: add test for crc32 instructions in CodeGen.

    TNorthover committed Jan 14, 2015
    Somehow we seem to have ended up without any actual tests of the
    CodeGen side. Easy enough to fix.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225930 91177308-0d34-0410-b5e6-96231b3b80d8
  35. Remove trailing slash from r225924

    dexonsmith committed Jan 14, 2015
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225929 91177308-0d34-0410-b5e6-96231b3b80d8