Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebases llvm to near-head, fixes .ll parse errors with fixedstacksegment attribute #8

Closed
wants to merge 1,055 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 12, 2013

  1. Add missing relocation names

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179358 91177308-0d34-0410-b5e6-96231b3b80d8
    gix committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    a6cd815 View commit details
    Browse the repository at this point in the history
  2. Add -expand-relocs to llvm-readobj

    This option expands shown relocations from single line to a dictionary
    format:
    
      Relocation {
        Offset: 0x4
        Type: R_386_32 (1)
        Symbol: sym
        Info: 0x0
      }
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179359 91177308-0d34-0410-b5e6-96231b3b80d8
    gix committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    1c8dfa5 View commit details
    Browse the repository at this point in the history
  3. Add extensive relocation tests for llvm-readobj

    This test ensures that relocation type names returned by libObject match
    the raw relocation type value.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179360 91177308-0d34-0410-b5e6-96231b3b80d8
    gix committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    8ed205f View commit details
    Browse the repository at this point in the history
  4. Replace coff-/elf-dump with llvm-readobj

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179361 91177308-0d34-0410-b5e6-96231b3b80d8
    gix committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    f89da72 View commit details
    Browse the repository at this point in the history
  5. Remove obsolete object file dumpers

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179362 91177308-0d34-0410-b5e6-96231b3b80d8
    gix committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    7e87373 View commit details
    Browse the repository at this point in the history
  6. Teach llvm-readobj to print ELF program headers

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179363 91177308-0d34-0410-b5e6-96231b3b80d8
    gix committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    cf3b55a View commit details
    Browse the repository at this point in the history
  7. Don't explicitly provide -pie in MSan bootstrap of LLVM, as it's now …

    …implied by the driver
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179367 91177308-0d34-0410-b5e6-96231b3b80d8
    Alexey Samsonov committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    5eacadd View commit details
    Browse the repository at this point in the history
  8. Fix a disconcerting bug in Value::isUsedInBasicBlock, which gave wron…

    …g answers for blocks larger than 3 instrs.
    
    Also add a unit test. PR15727.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179370 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    71c1b22 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    200241e View commit details
    Browse the repository at this point in the history
  10. Revert broken pieces of r179373.

    You can't copy an OwningPtr, and move semantics aren't available in C++98.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179374 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    3389e10 View commit details
    Browse the repository at this point in the history
  11. AArch64: remove over-zealous use of CHECK-NEXT

    It turns out some platforms (e.g. Windows) lay out their llvm-mc slightly
    differently with extra newlines; there was no real reason for the test lines to
    be consecutive, so this relaxes the FileCheck.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179375 91177308-0d34-0410-b5e6-96231b3b80d8
    Tim Northover authored and Tim Northover committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    15e8837 View commit details
    Browse the repository at this point in the history
  12. AArch64: use full triple for ELF tests

    These tests rely specifically on the names of ELF relocations, let alone any
    other detail. There's no way they'd work if LLVM was emitting something else by
    default.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179376 91177308-0d34-0410-b5e6-96231b3b80d8
    Tim Northover authored and Tim Northover committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    b6ad2bd View commit details
    Browse the repository at this point in the history
  13. LoopVectorizer: integer division is not a reduction operation

    Don't classify idiv/udiv as a reduction operation. Integer division is lossy.
    For example : (1 / 2) * 4 != 4/2.
    
    Example:
    
    int a[] = { 2, 5, 2, 2}
    int x = 80;
    
    for()
      x /= a[i];
    
    Scalar:
      x /= 2 // = 40
      x /= 5 // = 8
      x /= 2 // = 4
      x /= 2 // = 2
    
    Vectorized:
    
     <80, 1> / <2,5> //= <40,0>
     <40, 0> / <2,2> //= <20,0>
    
     20*0 = 0
    
    radar://13640654
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179381 91177308-0d34-0410-b5e6-96231b3b80d8
    aschwaighofer committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    08a0e8f View commit details
    Browse the repository at this point in the history
  14. [ms-inline asm] Add the implementation for the AOK_Delete kind, which…

    … was added
    
    in r179325.  Test case coming shortly on the clang side.
    Part of rdar://13453209
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179383 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    dda4b6b View commit details
    Browse the repository at this point in the history
  15. Simplify (A & ~B) in icmp if A is a power of 2

    The transform will execute like so:
    (A & ~B) == 0 --> (A & B) != 0
    (A & ~B) != 0 --> (A & B) == 0
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179386 91177308-0d34-0410-b5e6-96231b3b80d8
    majnemer committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    fb1cd69 View commit details
    Browse the repository at this point in the history
  16. Hexagon: Set isPredicatedFlase flag for all the instructions with neg…

    …ated predication.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179387 91177308-0d34-0410-b5e6-96231b3b80d8
    JyotsnaVerma committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    c1406d7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1877dc0 View commit details
    Browse the repository at this point in the history
  18. Add a comment about the PPC Interpretation64Bit bit

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179391 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    81b2fd5 View commit details
    Browse the repository at this point in the history
  19. PPC: Remove (broken) nested implicit definition lists

    TableGen will not combine nested list 'let' bindings into a single list, and
    instead uses only the inner scope. As a result, several instruction definitions
    were missing implicit register defs that were in outer scopes. This de-nests
    these scopes and makes all instructions have only one let binding which sets
    implicit register definitions.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179392 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    5985746 View commit details
    Browse the repository at this point in the history
  20. [ms-inline asm] Add support for operands that include both a symbol a…

    …nd an
    
    immediate displacement.  Specifically, add support for generating the proper IR.
    We've been able to parse this for some time now.  Test case to be added on the
    clang side.
    Part of rdar://13453209
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179393 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    9458f3e View commit details
    Browse the repository at this point in the history
  21. ARM: Correct printing of pre-indexed operands.

    According to the ARM reference manual, constant offsets are mandatory for pre-indexed addressing modes.
    The MC disassembler was not obeying this when the offset is 0.
    It was producing instructions like: str r0, [r1]!.
    Correct syntax is: str r0, [r1, #0]!.
    
    This change modifies the dumping of operands so that the offset is always printed, regardless of its value, when pre-indexed addressing mode is used.
    
    Patch by Mihail Popa <Mihail.Popa@arm.com>
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179398 91177308-0d34-0410-b5e6-96231b3b80d8
    Quentin Colombet committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    d64ee44 View commit details
    Browse the repository at this point in the history
  22. [ms-inline asm] Have the [ Symbol ] case fall into the more general l…

    …ogic. This
    
    is a follow on to r179393.  Test case to be added on the clang side.
    Part of rdar://13453209
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179399 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    b71ce6a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f2c2b20 View commit details
    Browse the repository at this point in the history
  24. lit: Fix infinite recursion when an out-of-tree test root is located …

    …inside the source test root.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179402 91177308-0d34-0410-b5e6-96231b3b80d8
    ddunbar committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    406ef44 View commit details
    Browse the repository at this point in the history
  25. [ms-inline asm] Address the FIXME for ImmDisp before brackets. This

    is a follow on to r179393 and r179399.  Test case to be added on
    the clang side.
    Part of rdar://13453209
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179403 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    d0dd5e4 View commit details
    Browse the repository at this point in the history
  26. [ms-inline asm] Move this logic into a static function as it's only a…

    …pplicable
    
    when parsing MS-style inline assembly.  No functional change intended.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179407 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    3f42936 View commit details
    Browse the repository at this point in the history
  27. Add support for additional vector instructions in the interpreter.

    patch by Veselov, Yuri <Yuri.Veselov@intel.com>.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179409 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    affe889 View commit details
    Browse the repository at this point in the history
  28. Add debug prints.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179412 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    196ee11 View commit details
    Browse the repository at this point in the history
  29. CostModel: increase the default cost of supported floating point oper…

    …ations from 1 to two. Fixed a few tests that changes because now the cost of one insert + a vector operation on two doubles is lower than two scalar operations on doubles.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179413 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    9eb366a View commit details
    Browse the repository at this point in the history
  30. SLPVectorizer: add support for vectorization of diamond shaped trees.…

    … We now perform a preliminary traversal of the graph to collect values with multiple users and check where the users came from.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179414 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    a74f91e View commit details
    Browse the repository at this point in the history
  31. InstCombine: Check the operand types before merging fcmp ord & fcmp ord.

    Fixes PR15737.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179417 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    6ac9278 View commit details
    Browse the repository at this point in the history
  32. Revert r179409 because it caused some warnings and some of the build …

    …bots fail.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179418 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    0fda0f3 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    9367b8d View commit details
    Browse the repository at this point in the history
  34. [mips] Instruction selection patterns for carry-setting and using add

    instructions.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179421 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    6d22445 View commit details
    Browse the repository at this point in the history
  35. Revert r179420 and r179421.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179422 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    d35d5bd View commit details
    Browse the repository at this point in the history
  36. [ms-inline asm] Simplify the logic by using parsePrimaryExpr. No func…

    …tional
    
    change intended.  Test case previously added in r178568.
    Part of rdar://13611297
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179425 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 12, 2013
    Configuration menu
    Copy the full SHA
    41a10b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2013

  1. [mips] Override TargetLoweringBase::isShuffleMaskLegal.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179433 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    bf308ce View commit details
    Browse the repository at this point in the history
  2. [mips] Reapply r179420 and r179421.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179434 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    3d60241 View commit details
    Browse the repository at this point in the history
  3. Finish templating MachObjectFile over endianness.

    We are now able to handle big endian macho files in llvm-readobject. Thanks to
    David Fang for providing the object files.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179440 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    da2a237 View commit details
    Browse the repository at this point in the history
  4. Some versions of gcc don't like typenames in these places.

    Should fix the bots.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179441 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    69893a2 View commit details
    Browse the repository at this point in the history
  5. [mips] Move MipsTargetLowering::lowerINTRINSIC_W_CHAIN and

    lowerINTRINSIC_WO_CHAIN into MipsSETargetLowering.
    
    No functionality changes.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179444 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    4e0980a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    107cd0c View commit details
    Browse the repository at this point in the history
  7. Catch another case where SD fails to propagate node order.

    I need to handle this for the test case in my following scheduler
    commit.
    
    Work is already under way to redesign the mechanism for node order
    propagation because this case by case approach is unmaintainable.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179448 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    c706dc7 View commit details
    Browse the repository at this point in the history
  8. MI-Sched: schedule physreg copies.

    The register allocator expects minimal physreg live ranges. Schedule
    physreg copies accordingly. This is slightly tricky when they occur in
    the middle of the scheduling region. For now, this is handled by
    rescheduling the copy when its associated instruction is
    scheduled. Eventually we may instead bundle them, but only if we can
    preserve the bundles as parallel copies during regalloc.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179449 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    4392f0f View commit details
    Browse the repository at this point in the history
  9. X86 machine model: reduce SandyBridge and Haswell ILPWindow.

    The initial values were arbitrary. I want them to be more
    conservative. This represents the number of latency cycles hidden by
    OOO execution. In practice, I think it should be within a small factor
    of the complex floating point operation latency so the scheduler can
    make some attempt to hide latency even for smallish blocks.
    
    These are by no means the best values, just a starting point for
    tuning heuristics. Some benchmarks such as TSVC run faster with this
    lower value for SandyBridge. I haven't run anything on Haswell, but
    it's shouldn't be 2x SB.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179450 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    f521997 View commit details
    Browse the repository at this point in the history
  10. MI-Sched cleanup. If an instruction has no valid sched class, do not …

    …attempt to check for a variant.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179451 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    6a22dba View commit details
    Browse the repository at this point in the history
  11. MI-Sched: DEBUG formatting.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179452 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    baedcd7 View commit details
    Browse the repository at this point in the history
  12. Add a missing REQUIRES: asserts

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179453 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    65634fa View commit details
    Browse the repository at this point in the history
  13. Fix a dislexic regex.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179455 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    4b1a1f3 View commit details
    Browse the repository at this point in the history
  14. Further generalize this scheduler test.

    The order of copies depends on queue order, which is not very stable.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179456 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    16de01e View commit details
    Browse the repository at this point in the history
  15. Spill and restore PPC CR registers using the FP when we have one

    For functions that need to spill CRs, and have dynamic stack allocations, the
    value of the SP during the restore is not what it was during the save, and so
    we need to use the FP in these cases (as for all of the other spills and
    restores, but the CR restore has a special code path because its reserved slot,
    like the link register, is specified directly relative to the adjusted SP).
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179457 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    b99c995 View commit details
    Browse the repository at this point in the history
  16. Fix a scalability issue with complex ConstantExprs.

    This is basically the same fix in three different places. We use a set to avoid
    walking the whole tree of a big ConstantExprs multiple times.
    
    For example: (select cmp, (add big_expr 1), (add big_expr 2))
    We don't want to visit big_expr twice here, it may consist of thousands of
    nodes.
    
    The testcase exercises this by creating an insanely large ConstantExprs out of
    a loop. It's questionable if the optimizer should ever create those, but this
    can be triggered with real C code. Fixes PR15714.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179458 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    8848680 View commit details
    Browse the repository at this point in the history
  17. GlobalDCE: Fix an oversight in my last commit that could lead to cras…

    …hes.
    
    There is a Constant with non-constant operands: blockaddress.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179460 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    9cbee63 View commit details
    Browse the repository at this point in the history
  18. Use the correct types when matching ADDRri patterns from frame indexes.

    It doesn't seem like anybody is checking types this late in isel, so no
    test case.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179462 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    41b585c View commit details
    Browse the repository at this point in the history
  19. Define SPARC code models.

    Currently, only abs32 and pic32 are implemented. Add a test case for
    abs32 with 64-bit code. 64-bit PIC code is currently broken.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179463 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    41d59c6 View commit details
    Browse the repository at this point in the history
  20. Mark all PPC CR registers to be spilled as live-in and tag MFCR appro…

    …priately
    
    Leaving MFCR has having unmodeled side effects is not enough to prevent
    unwanted instruction reordering post-RA. We could probably apply a stronger
    barrier attribute, but there is a better way: Add all (not just the first) CR
    to be spilled as live-in to the entry block, and add all CRs to the MFCR
    instruction as implicitly killed.
    
    Unfortunately, I don't have a small test case.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179465 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 13, 2013
    Configuration menu
    Copy the full SHA
    63496f6 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2013

  1. Add target flags to SPARC address operands.

    SDNodes and MachineOperands get target flags representing the %hi() and
    %lo() assembly annotations that eventually become relocations.
    
    Also define flags to be used by the 64-bit code models.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179468 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    0ec587e View commit details
    Browse the repository at this point in the history
  2. Fix patterns for 64-bit pointers.

    This fixes the pic32 code model for SPARC v9.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179469 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    ef596e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7eaf29 View commit details
    Browse the repository at this point in the history
  4. Also put target flags on SPARC constant pool references.

    Constant pool entries are accessed exactly the same way as global
    variables.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179471 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    2693210 View commit details
    Browse the repository at this point in the history
  5. Use target flags for printing SPARC asm operands.

    64-bit code models need multiple relocations that can't be inferred from
    the opcode like they can in 32-bit code.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179472 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    cab0abd View commit details
    Browse the repository at this point in the history
  6. Add support for the SPARC v9 abs44 code model.

    This is the default model for non-PIC 64-bit code. It supports
    text+data+bss linked anywhere in the low 16 TB of the address space.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179473 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    87ce017 View commit details
    Browse the repository at this point in the history
  7. Add support for the abs64 SPARC v9 code model.

    For when 16 TB just isn't enough.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179474 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    618eda7 View commit details
    Browse the repository at this point in the history
  8. SLPVectorizer: Add support for trees that don't start at binary opera…

    …tors, and add the cost of extracting values from the roots of the tree.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179475 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    ab105ae View commit details
    Browse the repository at this point in the history
  9. Remove unused function attributes.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179476 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    1f098af View commit details
    Browse the repository at this point in the history
  10. Use i32 for all SPARC shift amounts, even in 64-bit mode.

    Test case by llvm-stress.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179477 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    d9f88da View commit details
    Browse the repository at this point in the history
  11. Document the decision to assume that the cost of floats is twice as m…

    …uch as integers.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179478 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    4208200 View commit details
    Browse the repository at this point in the history
  12. SLP: Document the scalarization cost method.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179479 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    0774629 View commit details
    Browse the repository at this point in the history
  13. Document the SLP infrastructure.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179480 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    a15dedb View commit details
    Browse the repository at this point in the history
  14. Miscellaneous cleanups for VecUtils.h

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179483 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    e197486 View commit details
    Browse the repository at this point in the history
  15. Make the command line triple match the module triple.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179492 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    687a9df View commit details
    Browse the repository at this point in the history
  16. Reorders two transforms that collide with each other

    One performs: (X == 13 | X == 14) -> X-13 <u 2
    The other: (A == C1 || A == C2) -> (A & ~(C1 ^ C2)) == C1
    
    The problem is that there are certain values of C1 and C2 that
    trigger both transforms but the first one blocks out the second,
    this generates suboptimal code.
    
    Reordering the transforms should be better in every case and
    allows us to do interesting stuff like turn:
      %shr = lshr i32 %X, 4
      %and = and i32 %shr, 15
      %add = add i32 %and, -14
      %tobool = icmp ne i32 %add, 0
    
    into:
      %and = and i32 %X, 240
      %tobool = icmp ne i32 %and, 224
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179493 91177308-0d34-0410-b5e6-96231b3b80d8
    majnemer committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    024d943 View commit details
    Browse the repository at this point in the history
  17. Use object file specific section type for initial text section

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179494 91177308-0d34-0410-b5e6-96231b3b80d8
    gix committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    ef1762b View commit details
    Browse the repository at this point in the history
  18. If we've specified a triple on the command line then go ahead

    and use that as the default triple for the module and target
    data layout.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179497 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    10f8d2b View commit details
    Browse the repository at this point in the history
  19. Remove some unused triple and data layout.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179498 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    199ff9c View commit details
    Browse the repository at this point in the history
  20. Revert "Remove some unused triple and data layout."

    This reverts commit r179497 and the accompanying commit as it broke random platforms that aren't osx.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179499 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 14, 2013
    Configuration menu
    Copy the full SHA
    f1216ab View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2013

  1. Fix PPC64 CR spill location for callee-saved registers

    This fixes an ABI bug for non-Darwin PPC64. For the callee-saved condition
    registers, the spill location is specified relative to the stack pointer (SP +
    8). However, this is not relative to the SP after the new stack frame is
    established, but instead relative to the caller's stack pointer (it is stored
    into the linkage area of the parent's stack frame).
    
    So, like with the link register, we don't directly spill the CRs with other
    callee-saved registers, but just mark them to be spilled during prologue
    generation.
    
    In practice, this reverts r179457 for PPC64 (but leaves it in place for PPC32).
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179500 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    fb6fe0a View commit details
    Browse the repository at this point in the history
  2. Mark all PPC comparison instructions as not having side effects

    Now that the CR spilling issues have been resolved, we can remove the
    unmodeled-side-effect attributes from the comparison instructions (and also
    mark them as isCompare). By allowing these, by default, to have unmodeled side
    effects, we were hiding problems with CR spilling; but everything seems much
    happier now.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179502 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    00e86ad View commit details
    Browse the repository at this point in the history
  3. fix include path in doc Extending LLVM

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179503 91177308-0d34-0410-b5e6-96231b3b80d8
    J-Liu committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    fd975b0 View commit details
    Browse the repository at this point in the history
  4. SLPVectorizer: Add support for vectorizing trees that start at compar…

    …e instructions.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179504 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    0961656 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8849838 View commit details
    Browse the repository at this point in the history
  6. Add an option -vectorize-slp-aggressive for running the BB vectorizer…

    …. Make -fslp-vectorize run the slp-vectorizer.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179508 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    1129a83 View commit details
    Browse the repository at this point in the history
  7. Docs: merge the description of the BB and SLP vectorizers and documen…

    …t the -fslp-vectorize-aggressive flag.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179510 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    fc175d9 View commit details
    Browse the repository at this point in the history
  8. Document our desire to enable the loop vectorizer on -Os in future re…

    …leases.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179511 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    2f7ce45 View commit details
    Browse the repository at this point in the history
  9. Recommit r179497 after fixing uninitialized variable.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179512 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    fdf9624 View commit details
    Browse the repository at this point in the history
  10. Revert "Recommit r179497 after fixing uninitialized variable." until

    I can fix the testcases here:
    
    http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/6952
    
    This reverts commit r179512 due to testcases specifying triples
    that they didn't actually mean and causing failures on other platforms.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179513 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    60d20a8 View commit details
    Browse the repository at this point in the history
  11. Enable all targets by default on Visual Studio.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179518 91177308-0d34-0410-b5e6-96231b3b80d8
    Tim Northover authored and Tim Northover committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    eaa752f View commit details
    Browse the repository at this point in the history
  12. Replace uses of the deprecated std::auto_ptr with OwningPtr.

    This is a rework of the broken parts in r179373 which were subsequently reverted in r179374 due to incompatibility with C++98 compilers.  This version should be ok under C++98.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179520 91177308-0d34-0410-b5e6-96231b3b80d8
    andyg1001 committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    604b357 View commit details
    Browse the repository at this point in the history
  13. Make the host endianness check an integer constant expression.

    I will remove the isBigEndianHost function once I update clang.
    
    The ifdef logic is designed to
    * not use configure/cmake to avoid breaking -arch i686 -arch ppc.
    * default to little endian
    * be as small as possible
    
    It looks like sys/endian.h is the preferred header on most modern BSD systems,
    but it is better to change this in a followup patch as machine/endian.h is
    available on FreeBSD, OpenBSD, NetBSD and OS X.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179527 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    21a01d1 View commit details
    Browse the repository at this point in the history
  14. Remove unused function.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179530 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    0034c1f View commit details
    Browse the repository at this point in the history
  15. Avoid outputting temporary test file into source tree.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179532 91177308-0d34-0410-b5e6-96231b3b80d8
    Tim Northover authored and Tim Northover committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    d354644 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c7f424d View commit details
    Browse the repository at this point in the history
  17. Fix bit size of v64i8 and v32i16 vector types.

    Patch by Cameron McInally <cameron.mcinally@nyu.edu>.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179535 91177308-0d34-0410-b5e6-96231b3b80d8
    aschwaighofer committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    f971916 View commit details
    Browse the repository at this point in the history
  18. Try to fix the mingw builds.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179536 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    0851ce0 View commit details
    Browse the repository at this point in the history
  19. Grammar and punctuation fixes.

    No content changes.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179540 91177308-0d34-0410-b5e6-96231b3b80d8
    John Criswell committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    24dcc20 View commit details
    Browse the repository at this point in the history
  20. Simplify the MCInst operator iterator declaration.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179541 91177308-0d34-0410-b5e6-96231b3b80d8
    Jim Grosbach committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    0437ef6 View commit details
    Browse the repository at this point in the history
  21. Fix a typo in comment.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179542 91177308-0d34-0410-b5e6-96231b3b80d8
    Jim Grosbach committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    467116a View commit details
    Browse the repository at this point in the history
  22. R600: Emit ELF formatted code rather than raw ISA.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179544 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    3a63bf2 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    bf1efe6 View commit details
    Browse the repository at this point in the history
  24. R600/SI: Emit config values in register value pairs.

    Instead of emitting config values in a predefined order, the code
    emitter will now emit a 32-bit register index followed by the 32-bit
    config value.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179546 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    9a25630 View commit details
    Browse the repository at this point in the history
  25. Fix endianness on some MSVC versions.

    Looks like it was evaluating undef == undef to true.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179549 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    92b0d0e View commit details
    Browse the repository at this point in the history
  26. Fix silly typo that broke big endian hosts.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179551 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    c9363ef View commit details
    Browse the repository at this point in the history
  27. SLPVectorizer: Make it a function pass and add code for hoisting the …

    …vector-gather sequence out of loops.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179562 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    e9a4411 View commit details
    Browse the repository at this point in the history
  28. Update the release notes about the vectorizers.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179564 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    74cd12b View commit details
    Browse the repository at this point in the history
  29. Fix the internal link.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179565 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    96e0b96 View commit details
    Browse the repository at this point in the history
  30. Fix a grammar mistake, and add a line about the two phases that the B…

    …B/SLP vectorizers have (top-down and bottom-up).
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179566 91177308-0d34-0410-b5e6-96231b3b80d8
    nadavrot committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    3fe91a4 View commit details
    Browse the repository at this point in the history
  31. Mips assembler: Explicit floating point condition register recognition.

    This patch allows the assembler to recognize $fcc0 
    as a valid register for conditional move instructions. 
    
    Corresponding test cases have been added.
    
    Contributer: Vladimir Medic
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179567 91177308-0d34-0410-b5e6-96231b3b80d8
    Jack Carter committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    b8145e3 View commit details
    Browse the repository at this point in the history
  32. We are not able to bitcast a pointer to an integral value.

    Two return types are not equivalent if one is a pointer and the other is an
    integral. This is because we cannot bitcast a pointer to an integral value.
    PR15185
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179569 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    23e00ae View commit details
    Browse the repository at this point in the history
  33. ARM: Add VACLT and VACLE assembly aliases.

    These are aliases for VACGT and VACGE, respectively, with the source
    operands reversed.
    
    rdar://13638090
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179575 91177308-0d34-0410-b5e6-96231b3b80d8
    Jim Grosbach committed Apr 15, 2013
    Configuration menu
    Copy the full SHA
    d0132ba View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2013

  1. Add 64-bit multiply and divide instructions for SPARC v9.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179582 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    ad36608 View commit details
    Browse the repository at this point in the history
  2. simplifycfg: Fix integer overflow converting switch into icmp.

    If a switch instruction has a case for every possible value of its type,
    with the same successor, SimplifyCFG would replace it with an icmp ult,
    but the computation of the bound overflows in that case, which inverts
    the test.
    
    Patch by Jed Davis!
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179587 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    a121e24 View commit details
    Browse the repository at this point in the history
  3. Add four new functions and one new enum to the C API:

    LLVMGetThreadLocalMode - exposes GlobalVariable::getThreadLocalMode
    LLVMSetThreadLocalMode - exposes GlobalVariable::setThreadLocalMode
    LLVMIsExternallyInitialized - exposes GlobalVariable::isExternallyInitialized
    LLVMSetExternallyInitialized - exposes GlobalVariable::setExternallyInitialized
    LLVMThreadLocalMode - maps to GlobalVariable::ThreadLocalMode
    
    Patch by Moritz Maxeiner!
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179588 91177308-0d34-0410-b5e6-96231b3b80d8
    zmodem committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    6334e13 View commit details
    Browse the repository at this point in the history
  4. llvm-objdump: Don't print contents of BSS sections: it makes no sense…

    … and crashes llvm-objdump on relocated objects with large bss
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179589 91177308-0d34-0410-b5e6-96231b3b80d8
    Alexey Samsonov committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    0eaa6f6 View commit details
    Browse the repository at this point in the history
  5. Implement ARM unwind opcode assembler.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179591 91177308-0d34-0410-b5e6-96231b3b80d8
    loganchien committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    532854d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a363b11 View commit details
    Browse the repository at this point in the history
  7. Cleanup naming: DataLayout s/TD/DL/

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179601 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    6b51f75 View commit details
    Browse the repository at this point in the history
  8. [ms-inline asm] Remove some dead code.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179607 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    7e5d54c View commit details
    Browse the repository at this point in the history
  9. [ms-inline asm] Refactor. No functional change intended.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179610 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    8ccacf7 View commit details
    Browse the repository at this point in the history
  10. Remove unused variable from previous refactor.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179611 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    b7690be View commit details
    Browse the repository at this point in the history
  11. [XCore] Convert a couple of tests to FileCheck.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179619 91177308-0d34-0410-b5e6-96231b3b80d8
    Richard Osborne committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    b509b65 View commit details
    Browse the repository at this point in the history
  12. [XCore] Give test more generic name.

        
    I intend to extend the test with more offset folding checks
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179620 91177308-0d34-0410-b5e6-96231b3b80d8
    Richard Osborne committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    db51e31 View commit details
    Browse the repository at this point in the history
  13. [XCore] Extend test to check positve offsets are folded into addresses.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179621 91177308-0d34-0410-b5e6-96231b3b80d8
    Richard Osborne committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    13a1628 View commit details
    Browse the repository at this point in the history
  14. Print out the target-independent attributes in a comment before the f…

    …unction definition.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179622 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    6340549 View commit details
    Browse the repository at this point in the history
  15. C API: Add LLVMAddTargetDependentFunctionAttr()

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179645 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    68ee152 View commit details
    Browse the repository at this point in the history
  16. C API: Add LLVMGetBufferStart()

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179646 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    4074343 View commit details
    Browse the repository at this point in the history
  17. C API: Add LLVMGetBufferSize()

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179647 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    edc93b3 View commit details
    Browse the repository at this point in the history
  18. C API: Add LLVMTargetMachineEmitToMemoryBuffer()

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179648 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 16, 2013
    Configuration menu
    Copy the full SHA
    ad74f33 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2013

  1. [ms-inline asm] Add support for parsing complex immediate expressions…

    …. Test
    
    cases to be submitted on clang side shortly.
    rdar://13663768 and PR15760
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179655 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    4afa9b7 View commit details
    Browse the repository at this point in the history
  2. Mips assembler: Enable handling of nested expressions

    This patch allows the Mips assembler to parse and emit nested 
    expressions as instruction operands. It also extends the 
    expansion of memory instructions when an offset is given as 
    an expression. 
    
    Contributer: Vladimir Medic
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179657 91177308-0d34-0410-b5e6-96231b3b80d8
    Jack Carter committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    8afc8b7 View commit details
    Browse the repository at this point in the history
  3. Do not optimise fprintf() calls if its return value is used.

    Differential Revision: http://llvm-reviews.chandlerc.com/D620
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179661 91177308-0d34-0410-b5e6-96231b3b80d8
    pcc committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    c7ab4f9 View commit details
    Browse the repository at this point in the history
  4. Fix random typo.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179663 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    98055c6 View commit details
    Browse the repository at this point in the history
  5. PR15149/r174304 improvement - print hex for unknown dwarf language co…

    …des & add a test case
    
    CR feedback from Rafael Espindola and Paul Robinson.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179664 91177308-0d34-0410-b5e6-96231b3b80d8
    dwblaikie committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    2ca02c6 View commit details
    Browse the repository at this point in the history
  6. test

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179665 91177308-0d34-0410-b5e6-96231b3b80d8
    Anat Shemer committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    60a7f69 View commit details
    Browse the repository at this point in the history
  7. This appears to be no longer necessary for the testsuite.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179667 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    0f3e48e View commit details
    Browse the repository at this point in the history
  8. Fix -Werror build.

    Broken in r179657.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179669 91177308-0d34-0410-b5e6-96231b3b80d8
    eugenis committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    ce47d5b View commit details
    Browse the repository at this point in the history
  9. Create a stub for DWARF parser unittests

    Moves one DWARF-specific header to include/llvm/DebugInfo from lib/.
    Add a short unittest for r179095.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179678 91177308-0d34-0410-b5e6-96231b3b80d8
    Alexey Samsonov committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    cd61455 View commit details
    Browse the repository at this point in the history
  10. Use StringSwitch instead of long chain of if-else. No functionality c…

    …hange.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179682 91177308-0d34-0410-b5e6-96231b3b80d8
    Alexey Samsonov committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    784baa6 View commit details
    Browse the repository at this point in the history
  11. R600: Emit used GPRs count

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179684 91177308-0d34-0410-b5e6-96231b3b80d8
    Vincent Lejeune committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    141ca7f View commit details
    Browse the repository at this point in the history
  12. R600: Export is emitted as a CF_NATIVE inst

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179685 91177308-0d34-0410-b5e6-96231b3b80d8
    Vincent Lejeune committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    58df169 View commit details
    Browse the repository at this point in the history
  13. R600: Make Export Instruction not duplicable

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179686 91177308-0d34-0410-b5e6-96231b3b80d8
    Vincent Lejeune committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    26ebd7a View commit details
    Browse the repository at this point in the history
  14. Make formatting more consistent and tidy-up.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179689 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    8952d90 View commit details
    Browse the repository at this point in the history
  15. PowerPC: Mark some more patterns as isCodeGenOnly.

    A couple of recently introduced conditional branch patterns
    also need to be marked as isCodeGenOnly since they cannot
    be handled by the asm parser.
    
    No change in generated code.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179690 91177308-0d34-0410-b5e6-96231b3b80d8
    uweigand committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    1fb54cf View commit details
    Browse the repository at this point in the history
  16. Don't store AttributeSet::FunctionIndex as an int.

    GCC complains: Core.cpp:1449:27: warning: overflow in implicit constant conversion [-Woverflow]
    I'm not sure if that's really a problem here, but using the enum type is better
    style anyways.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179696 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    a73dd3e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4035693 View commit details
    Browse the repository at this point in the history
  18. Fix treatment of ARM unallocated hint instructions.

    The reference manual defines only 5 permitted values for the immediate field of the "hint" instruction:
    1. nop (imm == 0)
    2. yield (imm == 1)
    3. wfe (imm == 2)
    4. wfi (imm == 3)
    5. sev (imm == 4)
    
    Therefore, restrict the permitted values for the "hint" instruction to 0 through 4.
    
    Patch by Mihail Popa <Mihail.Popa@arm.com>
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179707 91177308-0d34-0410-b5e6-96231b3b80d8
    Quentin Colombet committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    7c4cf03 View commit details
    Browse the repository at this point in the history
  19. A limit of 500 was still a bit too high for some tests.

    PR15000 has a testcase where the time to compile was bordering on 30s. When I
    dropped the limit value to 100, it became a much more managable 6s. The compile
    time seems to increase in a roughly linear fashion based on increasing the limit
    value. (See the runtimes below.)
    
    So, let's lower the limit to 100 so that they can get a more reasonable compile
    time.
    
    Limit Value  Time
    -----------  ----
    10           0.9744s
    20           1.8035s
    30           2.3618s
    40           2.9814s
    50           3.6988s
    60           4.5486s
    70           4.9314s
    80           5.8012s
    90           6.4246s
    100          7.0852s
    110          7.6634s
    120          8.3553s
    130          9.0552s
    140          9.6820s
    150          9.8804s
    160         10.8901s
    170         10.9855s
    180         12.0114s
    190         12.6816s
    200         13.2754s
    210         13.9942s
    220         13.8097s
    230         14.3272s
    240         15.7753s
    250         15.6673s
    260         16.0541s
    270         16.7625s
    280         17.3823s
    290         18.8213s
    300         18.6120s
    310         20.0333s
    320         19.5165s
    330         20.2505s
    340         20.7068s
    350         21.1833s
    360         22.9216s
    370         22.2152s
    380         23.9390s
    390         23.4609s
    400         24.0426s
    410         24.6410s
    420         26.5208s
    430         27.7155s
    440         26.4142s
    450         28.5646s
    460         27.3494s
    470         29.7255s
    480         29.4646s
    490         30.5001s
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179713 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    d58b50b View commit details
    Browse the repository at this point in the history
  20. X86 cost model: Exit before calling getSimpleVT on non-simple VTs

    getSimpleVT can only handle simple value types.
    
    radar://13676022
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179714 91177308-0d34-0410-b5e6-96231b3b80d8
    aschwaighofer committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    9c63f0d View commit details
    Browse the repository at this point in the history
  21. This patch teaches x86 fast-isel to generate the native div/idiv inst…

    …ructions
    
    for the sdiv/srem/udiv/urem bitcode instructions.  This is done for the i8,
    i16, and i32 types, as well as i64 for the x86_64 target.
    
    Patch by Jim Stichnoth
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179715 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    5012548 View commit details
    Browse the repository at this point in the history
  22. More consistent formatting and tidying-up

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179716 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    8c49338 View commit details
    Browse the repository at this point in the history
  23. [objc-arc] Added an option to arc-annotations for turning off CheckFo…

    …rCFGHazard.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179717 91177308-0d34-0410-b5e6-96231b3b80d8
    gottesmm committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    ba5d950 View commit details
    Browse the repository at this point in the history
  24. [objc-arc] Added descriptions for EnableARCAnnotations, EnableCheckFo…

    …rCFGHazards, EnableARCOptimizations.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179718 91177308-0d34-0410-b5e6-96231b3b80d8
    gottesmm committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    b271b12 View commit details
    Browse the repository at this point in the history
  25. [ms-inline asm] Add support for the minus unary operator. Previously,…

    … we were
    
    unable to handle cases such as __asm mov eax, 8*-8.
    
    This patch also attempts to simplify the state machine.  Further, the error
    reporting has been improved.  Test cases included, but more will be added to
    the clang side shortly.
    rdar://13668445
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179719 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    d58f773 View commit details
    Browse the repository at this point in the history
  26. Fixed typo.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179721 91177308-0d34-0410-b5e6-96231b3b80d8
    gottesmm committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    9739b65 View commit details
    Browse the repository at this point in the history
  27. [ms-inline asm] These should be int64_t, not uint64_t.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179724 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    53c9def View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    df39be6 View commit details
    Browse the repository at this point in the history
  29. Two small cleanups for ELF's templates.

    * We only ever specialize these templates with an instantiation of ELFType,
      so we don't need a template template.
    * Replace LLVM_ELF_COMMA with just passing the individual parameters to the
      macro. This requires a second macro for when we only have ELFT, but that
      is still a small win.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179726 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    4323907 View commit details
    Browse the repository at this point in the history
  30. [objc-arc] Added annotation option to only emit annotations for a spe…

    …cific ssa identifier.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179729 91177308-0d34-0410-b5e6-96231b3b80d8
    gottesmm committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    f92bf40 View commit details
    Browse the repository at this point in the history
  31. Add an option `-enable-old-style-attr-syntax' to print out function a…

    …ttributes in the "old" style.
    
    It's sometimes beneficial to emit a testcase with the old style attribute
    syntax. Allow someone to do this.
    <rdar://problem/13563209>
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179735 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 17, 2013
    Configuration menu
    Copy the full SHA
    b1ac6e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2013

  1. Mips assembler: formatting and comment changes.

    This patch should not have any functional changes. 
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179737 91177308-0d34-0410-b5e6-96231b3b80d8
    Jack Carter committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    86924b4 View commit details
    Browse the repository at this point in the history
  2. [mips] DSP-ASE move from HI/LO register instructions.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179739 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    26aef5b View commit details
    Browse the repository at this point in the history
  3. [mips] Rename function.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179741 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    2fbe90c View commit details
    Browse the repository at this point in the history
  4. Streamline arc-annotation test (removing some cases which do not add …

    …any extra coverage) and set it up to use FileCheck variables to make the test more robust.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179745 91177308-0d34-0410-b5e6-96231b3b80d8
    gottesmm committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    fd4ce16 View commit details
    Browse the repository at this point in the history
  5. Removed trailing whitespace.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179746 91177308-0d34-0410-b5e6-96231b3b80d8
    gottesmm committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    8a70920 View commit details
    Browse the repository at this point in the history
  6. [objc-arc] Do not mismatch up retains inside a for loop with releases…

    … outside said for loop in the presense of differing provenance caused by escaping blocks.
    
    This occurs due to an alloca representing a separate ownership from the
    original pointer. Thus consider the following pseudo-IR:
    
      objc_retain(%a)
      for (...) {
        objc_retain(%a)
        %block <- %a
        F(%block)
        objc_release(%block)
      }
      objc_release(%a)
    
    From the perspective of the optimizer, the %block is a separate
    provenance from the original %a. Thus the optimizer pairs up the inner
    retain for %a and the outer release from %a, resulting in segfaults.
    
    This is fixed by noting that the signature of a mismatch of
    retain/releases inside the for loop is a Use/CanRelease top down with an
    None bottom up (since bottom up the Retain-CanRelease-Use-Release
    sequence is completed by the inner objc_retain, but top down due to the
    differing provenance from the objc_release said sequence is not
    completed). In said case in CheckForCFGHazards, we now clear the state
    of %a implying that no pairing will occur.
    
    Additionally a test case is included.
    
    rdar://12969722
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179747 91177308-0d34-0410-b5e6-96231b3b80d8
    gottesmm committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    0556900 View commit details
    Browse the repository at this point in the history
  7. Combine bit test + conditional or into simple math

    Simplify:
    (select (icmp eq (and X, C1), 0), Y, (or Y, C2))
    
    Into:
    (or (shl (and X, C1), C3), y)
    
    Where:
    C3 = Log(C2) - Log(C1)
    
    If:
    C1 and C2 are both powers of two
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179748 91177308-0d34-0410-b5e6-96231b3b80d8
    majnemer committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    a40a3a5 View commit details
    Browse the repository at this point in the history
  8. Revert "Combine bit test + conditional or into simple math"

    It is causing stage2 builds to fail, let's get them running again.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179750 91177308-0d34-0410-b5e6-96231b3b80d8
    majnemer committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    7754276 View commit details
    Browse the repository at this point in the history
  9. Fix for PR14824, An ARM Load/Store Optimization bug

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179751 91177308-0d34-0410-b5e6-96231b3b80d8
    Hao Liu authored and Hao Liu committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    d050e96 View commit details
    Browse the repository at this point in the history
  10. LoopVectorize: Use a set to avoid longer cycles in the reduction chai…

    …n too.
    
    Fixes PR15748.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179757 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    403fc14 View commit details
    Browse the repository at this point in the history
  11. Fix comment spacing.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179761 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    05862c9 View commit details
    Browse the repository at this point in the history
  12. Fixes to LangRef.rst: incorrect attributes syntax and misplaced 'nobu…

    …iltin'
    
    Patch by Stephen Lin
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179763 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    f841609 View commit details
    Browse the repository at this point in the history
  13. Make this private method.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179764 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    6c8afad View commit details
    Browse the repository at this point in the history
  14. [ms-inline asm] Simplify some logic and add a FIXME for unhandled una…

    …ry minus.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179765 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    c3a9574 View commit details
    Browse the repository at this point in the history
  15. Fix grammar in LLVMBuild.rst

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179768 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    bff1776 View commit details
    Browse the repository at this point in the history
  16. LoopVectorizer: Recognize min/max reductions

    A min/max operation is represented by a select(cmp(lt/le/gt/ge, X, Y), X, Y)
    sequence in LLVM. If we see such a sequence we can treat it just as any other
    commutative binary instruction and reduce it.
    
    This appears to help bzip2 by about 1.5% on an imac12,2.
    
    radar://12960601
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179773 91177308-0d34-0410-b5e6-96231b3b80d8
    aschwaighofer committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    a3fb330 View commit details
    Browse the repository at this point in the history
  17. Allow misaligned stores in x86 fast-isel.

    In X86FastISel::X86SelectStore(), improperly aligned stores are rejected and
    handled by the DAG-based ISel.  However, X86FastISel::X86SelectLoad() makes
    no such requirement.  There doesn't appear to be an x86 architectural
    correctness issue with allowing potentially unaligned store instructions.
    This patch removes this restriction.
    
    Patch by Jim Stichnot.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179774 91177308-0d34-0410-b5e6-96231b3b80d8
    dschuff committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    2061dcf View commit details
    Browse the repository at this point in the history
  18. Fix a comment, PR15777.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179775 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    77327fd View commit details
    Browse the repository at this point in the history
  19. At Jim Grosbach's request detemplate Object/MachO.h.

    We are still able to handle mixed endian objects by swapping one struct at a
    time.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179778 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    fd7aa38 View commit details
    Browse the repository at this point in the history
  20. Fix comment. Patch by Stephen Lin.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179780 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    c0b4b67 View commit details
    Browse the repository at this point in the history
  21. Added a function scalarizePHI() that sclarizes a vector phi instructi…

    …on if it has only 2 uses: one to promote the vector phi in a loop and the other use is an extract operation of one element at a constant location.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179783 91177308-0d34-0410-b5e6-96231b3b80d8
    Anat Shemer committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    77e95d0 View commit details
    Browse the repository at this point in the history
  22. C API: Fix coding style

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179785 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    4bfeee1 View commit details
    Browse the repository at this point in the history
  23. In the function InstCombiner::visitExtractElementInst() removed the l…

    …imitation that extract is promoted over a cast only if the cast has only one use.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179786 91177308-0d34-0410-b5e6-96231b3b80d8
    Anat Shemer committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    86dc3f3 View commit details
    Browse the repository at this point in the history
  24. Fix a -Wdocumentation warning

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179789 91177308-0d34-0410-b5e6-96231b3b80d8
    gribozavr committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    4b15d6a View commit details
    Browse the repository at this point in the history
  25. This patch addresses two cleanup issues:

    1. Verify::VerifyParameterAttrs in "lib/IR/Verifier.cpp" and
       AttrBuilder::removeFunctionOnlyAttrs in "lib/IR/Attributes.cpp" (only called
       by Verify::VerifyFunctionAttrs) separately maintained a list of function-only
       attribute types. I've consolidated the logic into a new function used for
       both cases in "lib/IR/Verifier.cpp", so this logic is in one place (other
       than the AsmParser front-end)
    
    2. Various functions in "lib/IR/Verifier.cpp" passed AttributeSet around by
       reference needlessly, as it's just a handle to an immutable pimpl body.
    
    Patch by Stephen Lin!
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179790 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    bb1b63c View commit details
    Browse the repository at this point in the history
  26. Cleanup patch:

    Semantics of parameters named Index and Idx were inconsistent between
    "include/llvm/IR/Attributes.h", "lib/IR/AttributeImpl.h" and
    "lib/IR/Attributes.cpp": sometimes these were fixed 1-based indexes of IR
    parameters (or AttributeSet::ReturnIndex for IR return values or
    AttributeSet::FunctionIndex for IR functions), other times they were the
    internal slot for storage in the underlying AttributeSetImpl. I renamed usage of
    the former to "Index" and usage of the latter to "Slot" ("Slot" was already
    being used consistently for the latter in a subset of cases)
    
    Patch by Stephen Lin!
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179791 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    8a6a7bb View commit details
    Browse the repository at this point in the history
  27. Fix typo

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179793 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    8bb3b09 View commit details
    Browse the repository at this point in the history
  28. X86: Add an SSE2 lowering for 64 bit compares when pcmpgtq (SSE4.2) i…

    …sn't available.
    
    This pattern started popping up in vectorized min/max reductions.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179797 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    fcba22d View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    a88a016 View commit details
    Browse the repository at this point in the history
  30. Implement optimizeCompareInstr for PPC

    Many PPC instructions have a so-called 'record form' which stores to a specific
    condition register the result of comparing the result of the instruction with
    zero (always as a signed comparison). For integer operations on PPC64, this is
    always a 64-bit comparison.
    
    This implementation is derived from the implementation in the ARM backend;
    there are some differences because PPC condition registers are allocatable
    virtual registers (although the record forms always use a specific one), and we
    look for a matching subtraction instruction after the compare (but before the
    first use) in addition to before it.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179802 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    860c08c View commit details
    Browse the repository at this point in the history
  31. [asm parser] Add support for predicating MnemonicAlias based on the a…

    …ssembler
    
    variant/dialect.  Addresses a FIXME in the emitMnemonicAliases function.
    Use and test case to come shortly.
    rdar://13688439 and part of PR13340.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179804 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    88eb89b View commit details
    Browse the repository at this point in the history
  32. Disable PPC comparison optimization by default

    This seems to cause a stage-2 LLVM compile failure (by crashing TableGen); do
    I'm disabling this for now.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179807 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    4029c3f View commit details
    Browse the repository at this point in the history
  33. Set the compact unwind encoding to 'requires EH DWARF' if we cannot g…

    …enerate a CU encoding.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179808 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    2828608 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    18014d4 View commit details
    Browse the repository at this point in the history
  35. [ms-inline asm] Apply the condition code mnemonic aliases to both the…

    … Intel and
    
    AT&T dialect.  Test case for r179804 as well.
    rdar://13674398 and PR13340.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179813 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    3f1f9c3 View commit details
    Browse the repository at this point in the history
  36. Relax this assert. It may not hold in all cases.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179814 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    fa2b25c View commit details
    Browse the repository at this point in the history
  37. Implement a better fix for PR15185.

    If the return type is a pointer and the call returns an integer, then do the
    inttoptr convertions. And vice versa.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179817 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 18, 2013
    Configuration menu
    Copy the full SHA
    74d8924 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2013

  1. Configuration menu
    Copy the full SHA
    89ec1c5 View commit details
    Browse the repository at this point in the history
  2. Add some more stats for fast isel vs. SelectionDAG, w.r.t lowering fu…

    …nction
    
    arguments in entry BBs.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179824 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    5bd0767 View commit details
    Browse the repository at this point in the history
  3. Don't run expensive -O2 and -O3 in tests.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179825 91177308-0d34-0410-b5e6-96231b3b80d8
    Jakub Staszak committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    943baed View commit details
    Browse the repository at this point in the history
  4. Keep coding stanard. Don't use "else if" after "return".

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179826 91177308-0d34-0410-b5e6-96231b3b80d8
    Jakub Staszak committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    9affd16 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3abd23b View commit details
    Browse the repository at this point in the history
  6. R600/SI: Use InstFlag for VOP3 modifier operands

    InstFlag has a default value of 0 and will simplify the VOP3 patterns.
    
    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179829 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    ae2a892 View commit details
    Browse the repository at this point in the history
  7. R600: Add pattern for the BFI_INT instruction

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179830 91177308-0d34-0410-b5e6-96231b3b80d8
    tstellarAMD committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    48b809e View commit details
    Browse the repository at this point in the history
  8. Use 'array_lengthof' as possible to avoid magic numbers

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179833 91177308-0d34-0410-b5e6-96231b3b80d8
    hliao2 committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    0ee1700 View commit details
    Browse the repository at this point in the history
  9. Add support for index resources (for a SlotIndex) to be relinquished.

    When the SlotIndexes pass was introduced it was intended to support insertion
    of code during register allocation. Removal of code was a minor consideration
    (and raised the question of what to do about dangling SlotIndex objects pointing
    to the erased index), so I opted to keep all indexes around indefinitely and
    simply null out those that weren't being used.
    
    Nowadays people are moving more code around (e.g. via HandleMove), which means
    more zombie indexes. I want to start killing off indexes when we're done with
    them to reclaim the resources they use up.
     
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179834 91177308-0d34-0410-b5e6-96231b3b80d8
    lhames committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    6436227 View commit details
    Browse the repository at this point in the history
  10. PR14606: debug info imported_module support

    Adding another CU-wide list, in this case of imported_modules (since they
    should be relatively rare, it seemed better to add a list where each element
    had a "context" value, rather than add a (usually empty) list to every scope).
    This takes care of DW_TAG_imported_module, but to fully address PR14606 we'll
    need to expand this to cover DW_TAG_imported_declaration too.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179836 91177308-0d34-0410-b5e6-96231b3b80d8
    dwblaikie committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    bcb8136 View commit details
    Browse the repository at this point in the history
  11. Revert "PR14606: debug info imported_module support"

    This reverts commit r179836 as it seems to have caused test failures.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179840 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    41201ed View commit details
    Browse the repository at this point in the history
  12. Revert 179826. Tests were worthless.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179845 91177308-0d34-0410-b5e6-96231b3b80d8
    Jakub Staszak committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    a7e3701 View commit details
    Browse the repository at this point in the history
  13. ARM: permit "sp" in ARM variants of MOVW/MOVT instructions

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179847 91177308-0d34-0410-b5e6-96231b3b80d8
    Tim Northover authored and Tim Northover committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    4521019 View commit details
    Browse the repository at this point in the history
  14. Don't read one command past the end.

    Thanks to Evgeniy Stepanov for reporting this.
    
    It might be a good idea to add a command iterator abstraction to MachO.h, but
    this fixes the bug for now.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179848 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    db5f927 View commit details
    Browse the repository at this point in the history
  15. Attributes: Don't print trailing whitespace on the function attribute…

    … comment.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179849 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    e94e4ca View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    baecbb8 View commit details
    Browse the repository at this point in the history
  17. refactor the struct byte swapping to a helper function.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179851 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    143d223 View commit details
    Browse the repository at this point in the history
  18. ARM: Permit "sp" in ARM variant of STREXD instructions

    Patch from Mihail Popa
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179854 91177308-0d34-0410-b5e6-96231b3b80d8
    Tim Northover authored and Tim Northover committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    d3af696 View commit details
    Browse the repository at this point in the history
  19. [ms-inline asm] Cleanup the dot operator implementation.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179856 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    89ab4e4 View commit details
    Browse the repository at this point in the history
  20. ConstantFolding: ComputeMaskedBits wants the scalar size for vectors.

    Fixes PR15791.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179859 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    eb733d2 View commit details
    Browse the repository at this point in the history
  21. [ms-inline asm] Make this a hard error.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179865 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    fea1f8e View commit details
    Browse the repository at this point in the history
  22. [ms-inline asm] Move this variable into the scope in which it is used.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179866 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    3031ac0 View commit details
    Browse the repository at this point in the history
  23. [ms-inline asm] Remove these asserts. C++ variables that use namespace

    qualifiers don't necessarily begin with an identifier (e.g., ::foo::bar).
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179867 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    d386843 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f341dac View commit details
    Browse the repository at this point in the history
  25. [ms-inline asm] Refactor the parsing of identifiers. No functional ch…

    …ange
    
    indended.
    Part of rdar://13663589
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179871 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    e43624e View commit details
    Browse the repository at this point in the history
  26. [mips] Fix InstAlias of XOR and OR macros. Set EmitAlias flag and change

    operand type to uimm16.
    
    Patch by Vladimir Medic.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179872 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    8d99ec5 View commit details
    Browse the repository at this point in the history
  27. [mips] First patch which adds support for micromips.

    This patch adds support for recoded (meaning assembly-language compatible to
    standard mips32) arithmetic 32-bit instructions.
    
    Patch by Zoran Jovanovic.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179873 91177308-0d34-0410-b5e6-96231b3b80d8
    ahatanak committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    f530aff View commit details
    Browse the repository at this point in the history
  28. Attempt to pacify this test for the buildbots.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179874 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    76bb21b View commit details
    Browse the repository at this point in the history
  29. [ms-inline asm] Make code layout more canonical with iniline asm hand…

    …led last.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179875 91177308-0d34-0410-b5e6-96231b3b80d8
    Chad Rosier committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    4acef77 View commit details
    Browse the repository at this point in the history
  30. Rename ClassType to the more accurate UnderlyingType and document its…

    … purpose.
    
    rdar://problem/13463793
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179877 91177308-0d34-0410-b5e6-96231b3b80d8
    adrian-prantl committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    2f445be View commit details
    Browse the repository at this point in the history
  31. Reformat and nuke trailing whitespace.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179880 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    32dc092 View commit details
    Browse the repository at this point in the history
  32. 80-col fixup.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179881 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    09b7981 View commit details
    Browse the repository at this point in the history
  33. LoopVectorizer: Use matcher from PatternMatch.h for the min/max patterns

    Also make some static function class functions to avoid having to mention the
    class namespace for enums all the time.
    
    No functionality change intended.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179886 91177308-0d34-0410-b5e6-96231b3b80d8
    aschwaighofer committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    d717e20 View commit details
    Browse the repository at this point in the history
  34. Add a testcase to make sure we generate the proper compact unwind sec…

    …tion for a function that cannot produce a compact unwind encoding.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179887 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    bb41803 View commit details
    Browse the repository at this point in the history
  35. Make test slightly more readable.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179888 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    a317eb8 View commit details
    Browse the repository at this point in the history
  36. Do not mangle in MS-way the globals with magic \001 in the name.

    Based on the patch by David Nadlinger!
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179889 91177308-0d34-0410-b5e6-96231b3b80d8
    asl committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    8caffc1 View commit details
    Browse the repository at this point in the history
  37. Try explicitly setting the target triple to see if this gets it to pa…

    …ss on ARM.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179890 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    9c32678 View commit details
    Browse the repository at this point in the history
  38. Remove COFFYAML::Relocation.

    Use MappingNormalization to read a COFF::relocation directly.
    
    No functionality change.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179891 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    7a7e83a View commit details
    Browse the repository at this point in the history
  39. Use dbgs() consistently for -debug printouts

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179894 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    03494e0 View commit details
    Browse the repository at this point in the history
  40. Add an MRI::verifyUseLists() function.

    This checks the sanity of the register use lists in the MI intermediate
    representation.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179895 91177308-0d34-0410-b5e6-96231b3b80d8
    stoklund committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    a58d67a View commit details
    Browse the repository at this point in the history
  41. Fix PPC optimizeCompareInstr swapped-sub argument handling

    When matching a compare with a subtract where the arguments of the compare are
    swapped w.r.t. the arguments of the subtract, we need to negate the predicates
    (or CR bit indices) of the users. This, however, is not the same as inverting
    the predicate (negating LT -> GT, but inverting LT -> GE, for example). The ARM
    backend seems to do this correctly, but when I adapted the code for the PPC
    backend, I introduced an error in this logic.
    
    Comparison optimization is now enabled again by default.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179899 91177308-0d34-0410-b5e6-96231b3b80d8
    Hal Finkel committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    87c1e42 View commit details
    Browse the repository at this point in the history
  42. ArrayRefize getMachineNode(). No functionality change.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179901 91177308-0d34-0410-b5e6-96231b3b80d8
    hliao2 committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    2a8bea7 View commit details
    Browse the repository at this point in the history
  43. Move TryToFoldFastISelLoad to FastISel, where it belongs. In general,…

    … I'm
    
    trying to move as much FastISel logic as possible out of the main path in
    SelectionDAGISel - intermixing them just adds confusion.
    
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179902 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    75299e3 View commit details
    Browse the repository at this point in the history
  44. Make variable match any name.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179903 91177308-0d34-0410-b5e6-96231b3b80d8
    isanbard committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    df0d185 View commit details
    Browse the repository at this point in the history
  45. MergeFunc: Make pointer and integer types generate the same hash.

    The logic that actually compares the types considers pointers and integers the
    same if they are of the same size. This created a strange mismatch between hash
    and reality and made the test case for this fail on some platforms (yay,
    test cases).
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179905 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    24a5f30 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    97a62bf View commit details
    Browse the repository at this point in the history
  47. Simplify the code in FastISel::tryToFoldLoad, add an assertion and fi…

    …x a comment.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179908 91177308-0d34-0410-b5e6-96231b3b80d8
    eliben committed Apr 19, 2013
    Configuration menu
    Copy the full SHA
    462123f View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2013

  1. Test commit

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179913 91177308-0d34-0410-b5e6-96231b3b80d8
    stephenwlin committed Apr 20, 2013
    Configuration menu
    Copy the full SHA
    69394f2 View commit details
    Browse the repository at this point in the history
  2. Remove COFFYAML::Header.

    Instead, use MappingNormalization to directly parse COFF::header. Also change
    the naming convention of the helper classes to be a bit shorter.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179917 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 20, 2013
    Configuration menu
    Copy the full SHA
    f59a2a8 View commit details
    Browse the repository at this point in the history
  3. Small obj2yaml cleanups.

    * using namespace llvm.
    * whitespace.
    * early return.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179920 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Apr 20, 2013
    Configuration menu
    Copy the full SHA
    da177ce View commit details
    Browse the repository at this point in the history
  4. Splitstack implementation for android

    ILyoan authored and erickt committed Apr 20, 2013
    Configuration menu
    Copy the full SHA
    22f3be9 View commit details
    Browse the repository at this point in the history
  5. Fix regiser states

    ILyoan authored and erickt committed Apr 20, 2013
    Configuration menu
    Copy the full SHA
    c365956 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2acfa71 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    34c1ccc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7892f43 View commit details
    Browse the repository at this point in the history