Permalink
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. @desvige

    Override the TLI callback enableAggressiveFMAFusion and return true. …

    …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
    desvige committed Jan 14, 2015
  4. @espindola

    Handle a symbol being undefined.

    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
    espindola committed Jan 14, 2015
  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…

    … changes.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225980 91177308-0d34-0410-b5e6-96231b3b80d8
    Vladimir Medic committed Jan 14, 2015
  7. @eeckstein

    reapply: SLPVectorizer: Cache results from memory alias checking.

    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
    eeckstein committed Jan 14, 2015
  8. @chandlerc

    [cleanup] Re-sort all the #include lines in LLVM using

    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
    chandlerc committed Jan 14, 2015
  9. Correct POP handling for v7m

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225972 91177308-0d34-0410-b5e6-96231b3b80d8
    Jyoti Allur committed Jan 14, 2015
  10. @chandlerc

    [dom] Make the DominatorTreeBase not a dynamic class!

    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
    chandlerc committed Jan 14, 2015
  11. @chandlerc

    [PM] Port domtree to the new pass manager (at last).

    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
    chandlerc committed Jan 14, 2015
  12. [mips] Refine octeon instructions seq/seqi/sne/snei

    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
    Kai Nacke committed Jan 14, 2015
  13. Add disassembler tests for mips32r2 platform. There are no functional…

    … changes.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225967 91177308-0d34-0410-b5e6-96231b3b80d8
    Vladimir Medic committed Jan 14, 2015
  14. @chandlerc

    [PM] Make DominatorTrees (corectly) movable so that we can move them

    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
    chandlerc committed Jan 14, 2015
  15. @brad0

    Use the integrated assembler by default on SPARC.

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

    Use the operand vector instead so inline assembly can be validated too

    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
    majnemer committed Jan 14, 2015
  17. @joker-eph

    SelectionDAG: add a -filter-view-dags option to llc

        
    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
    joker-eph committed Jan 14, 2015
  18. @joker-eph

    DAG Combiner: Fold SelectCC When Cond is UNDEF

    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
    joker-eph committed Jan 14, 2015
  19. @joker-eph

    Add assertions for out of bound index in ComputeLinearIndex

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225951 91177308-0d34-0410-b5e6-96231b3b80d8
    joker-eph committed Jan 14, 2015
  20. @compnerd

    X86: only access operands if they are present

    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
    compnerd committed Jan 14, 2015
  21. @joker-eph

    Fold a loop for array processing in ComputeLinearIndex

        
    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
    joker-eph committed Jan 14, 2015
  22. @jfbastien

    Revert "Insert random noops to increase security against ROP attacks …

    …(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
    jfbastien committed Jan 14, 2015
  23. @dexonsmith

    NVPTX: Use MapMetadata() instead of custom/stale/untested logic

    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
    dexonsmith committed Jan 14, 2015
  24. @dexonsmith

    NVPTX: Remove bogus remap logic for global variable address spaces

    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
    dexonsmith committed Jan 14, 2015
  25. @compnerd

    X86: validate 'int' instruction

    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
    compnerd committed Jan 14, 2015
  26. @chapuni

    Disable a couple of tests, CodeGen/X86/noop-insert.ll and CodeGen/X86…

    …/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
    chapuni committed Jan 14, 2015
  27. @chandlerc

    [dom] Remove extraneous inline keywords. Template functions and inline

    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
    chandlerc committed Jan 14, 2015
  28. @chandlerc

    [dom] The formatting of the generic domtree has bitrotted over the years

    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
    chandlerc committed Jan 14, 2015
  29. @chandlerc

    [dom] Clean up some comments in this header that were confusingly

    formatted or placed incorrectly.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225937 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jan 14, 2015
  30. @chandlerc

    [dom] Add a basic dominator tree test.

    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
    chandlerc committed Jan 14, 2015
  31. Fix a wrong comment in LoopVectorize.

      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
    Hao Liu committed Jan 14, 2015
  32. @chapuni

    TargetInstrInfo.h: Fix \param in r225772. [-Wdocumentation]

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

    … 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
    Richard Trieu committed Jan 14, 2015
  34. @TNorthover

    ARM: add test for crc32 instructions in CodeGen.

    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
    TNorthover committed Jan 14, 2015
  35. @dexonsmith

    Remove trailing slash from r225924

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