Permalink
Commits on Apr 16, 2009
  1. prove diagnostic -> group mapping information.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69270 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  2. Expand GEPs in ScalarEvolution expressions. SCEV expressions can now

    have pointer types, though in contrast to C pointer types, SCEV
    addition is never implicitly scaled. This not only eliminates the
    need for special code like IndVars' EliminatePointerRecurrence
    and LSR's own GEP expansion code, it also does a better job because
    it lets the normal optimizations handle pointer expressions just
    like integer expressions.
    
    Also, since LLVM IR GEPs can't directly index into multi-dimensional
    VLAs, moving the GEP analysis out of client code and into the SCEV
    framework makes it easier for clients to handle multi-dimensional
    VLAs the same way as other arrays.
    
    Some existing regression tests show improved optimization.
    test/CodeGen/ARM/2007-03-13-InstrSched.ll in particular improved to
    the point where if-conversion started kicking in; I turned it off
    for this test to preserve the intent of the test.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69258 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 16, 2009
  3. encode subgroups into the clang .inc file. -Wall now works!

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69257 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  4. In -fast mode do what FastISel does.

    This code could use some refactoring help!
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69254 91177308-0d34-0410-b5e6-96231b3b80d8
    Devang Patel committed Apr 16, 2009
  5. If FastISel is run and it has known DebugLoc then use it.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69253 91177308-0d34-0410-b5e6-96231b3b80d8
    Devang Patel committed Apr 16, 2009
  6. If location where the function was inlined is not know then do not em…

    …it debug info describing inlinied region.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69252 91177308-0d34-0410-b5e6-96231b3b80d8
    Devang Patel committed Apr 16, 2009
  7. start producing subgroup info.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69249 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  8. Another testcase for IV shortening.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69247 91177308-0d34-0410-b5e6-96231b3b80d8
    Dale Johannesen committed Apr 16, 2009
Commits on Apr 15, 2009
  1. Eliminate zext over (iv | const) or (signed iv),

    and sext over (iv | const), if a longer iv is
    available.  Allow expressions to have more than
    one zext/sext parent.  All from OpenSSL.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69241 91177308-0d34-0410-b5e6-96231b3b80d8
    Dale Johannesen committed Apr 15, 2009
  2. make sure that empty diag groups get known by clang.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69235 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  3. implement support for writing out diagnostic group tables.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69219 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  4. s/RootDbgScope/FunctionDbgScope/g

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69216 91177308-0d34-0410-b5e6-96231b3b80d8
    Devang Patel committed Apr 15, 2009
  5. Eliminate zext over (iv & const) or ((iv+const)&const)

    if a longer iv is available.  These subscript forms are
    not common; they're a bottleneck in OpenSSL.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69215 91177308-0d34-0410-b5e6-96231b3b80d8
    Dale Johannesen committed Apr 15, 2009
  6. use UppercaseString instead of EmitAllCaps

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69213 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  7. use escape string.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69212 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  8. teach EscapeString and UnescapeString to handle ".

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69211 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  9. Add DISubprogram is not null check.

    This fixes test/CodeGen//2009-01-21-invalid-debug-info.m test case.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69210 91177308-0d34-0410-b5e6-96231b3b80d8
    Devang Patel committed Apr 15, 2009
  10. Generalize one of the SelectionDAG::ReplaceAllUsesWith overloads

    to support replacing a node with another that has a superset of
    the result types. Use this instead of calling
    ReplaceAllUsesOfValueWith for each value.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69209 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009
  11. rename -gen-clang-diags-options -> -gen-clang-diag-groups

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69208 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  12. move clang-specific makefile goop to clang makefile.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69206 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  13. Fix 80-column violations.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69204 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009
  14. Add a folding table entry for MOV8rr_NOREX.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69203 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009
  15. Check isInlinedSubroutine() before creating DW_TAG_inlined_subroutine.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69202 91177308-0d34-0410-b5e6-96231b3b80d8
    Devang Patel committed Apr 15, 2009
  16. Fix MachineInstr::getNumExplicitOperands to count

    variadic operands correctly. Patch by Jakob Stoklund Olesen!
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69190 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009
  17. don't infer diag class from parenting relations, make it an explicit …

    …field
    
    in the record.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69176 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  18. include the default mapping in the clang diagnostic .inc files.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69173 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  19. minor cleanups

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69152 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  20. Limit the number of times we're willing to chase pointers. Removes an…

    … O(n^2)
    
    problem from instcombine.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69151 91177308-0d34-0410-b5e6-96231b3b80d8
    nlewycky committed Apr 15, 2009
  21. Allow jumping to the end of a bitstream while reading

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69145 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 15, 2009
  22. Check for alignment.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69140 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 15, 2009
  23. More obsessive reformatting. Fixed some validation errors.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69130 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 15, 2009
  24. Don't use "protected:" in classes that aren't intended to be

    subclassed.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69129 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009
  25. Fix doxygen comment syntax.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69128 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009
  26. Fix X86MachineFunctionInfo's doxygen comment.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69127 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009
  27. Move MachineRegisterInfo::setRegClass out of line.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69126 91177308-0d34-0410-b5e6-96231b3b80d8
    Dan Gohman committed Apr 15, 2009