Skip to content
  1. Jun 10, 2013
    • Reed Kotler's avatar
      Fix a regression I introduced when I expanded the complex pseudos in · ce510830
      Reed Kotler authored
      the Mips16 port. A few of the psuedos could either take signed
      or unsigned arguments and I did not distinguish the case and improperly
      rejected some valid cases that the assembler had previously accepted
      when they were pure pseudos that expanded as assembly instructions.
      
      llvm-svn: 183633
      ce510830
  2. Jun 09, 2013
    • Reid Kleckner's avatar
      [CodeGen] Make CGCleanup.h include what it now uses · 2da7fcda
      Reid Kleckner authored
      Also move CGCleanup.h to the top of CGCleanup.cpp to verify that
      CGCleanup.h really includes what it needs.
      
      llvm-svn: 183632
      2da7fcda
    • Reid Kleckner's avatar
      [CodeGen] Move EHScopeStack to CGCleanup.h from CodeGenFunction.h · 200fe22a
      Reid Kleckner authored
      No functionality change.  CGCleanup.cpp provides the implementation for
      EHScopeStack, so it seems more consistent to place the class definition
      in CGCleanup.h.
      
      This should also help solve a header ordering problem that I have.
      
      llvm-svn: 183631
      200fe22a
    • Benjamin Kramer's avatar
      58bd79c4
    • Benjamin Kramer's avatar
      Add a const version of findNearestCommonDominator to PostDom for convenience. · 1bfb7a39
      Benjamin Kramer authored
      PR16283.
      
      llvm-svn: 183629
      1bfb7a39
    • Logan Chien's avatar
      Refine the ARM EHABI test cases. · 1bd6e13b
      Logan Chien authored
      Since we have ARM unwind directive parser and assembler, we
      can check the correctness in two stages:
      
      1. From LLVM assembly (.ll) to ARM assembly (.s)
      2. From ARM assembly (.s) to ELF object file (.o)
      
      We already have several "*.s to *.o" test cases.  This CL adds
      some "*.ll to *.s" test cases and removes the redundant "*.ll to *.o"
      test cases.
      
      New test cases to check "*.ll to *.s" code generator:
      
      - ehabi.ll: Check the correctness of the generated unwind directives.
      - section-name.ll: Check the section name of functions.
      
      Removed test cases:
      
      - ehabi-mc-cantunwind.ll
        (Covered by ehabi-cantunwind.ll, and eh-directive-cantunwind.s)
      - ehabi-mc-compact-pr0.ll
        (Covered by ehabi.ll, eh-compact-pr0.s, eh-directive-save.s, and
         eh-directive-setfp.s)
      - ehabi-mc-compact-pr1.ll
        (Covered by ehabi.ll, eh-compact-pr1.s, eh-directive-save.s, and
         eh-directive-setfp.s)
      - ehabi-mc.ll
        (Covered by ehabi.ll, and eh-directive-integrated-test.s)
      - ehabi-mc-section-group.ll
        (Covered by section-name.ll, and eh-directive-section-comdat.s)
      - ehabi-mc-section.ll
        (Covered by section-name.ll, and eh-directive-section.s)
      - ehabi-mc-sh_link.ll
        (Covered by eh-directive-text-section.s, and eh-directive-section.s)
      
      llvm-svn: 183628
      1bd6e13b
    • Logan Chien's avatar
      Fix ARM unwind opcode assembler in several cases. · 325823a1
      Logan Chien authored
      Changes to ARM unwind opcode assembler:
      
      * Fix multiple .save or .vsave directives.  Besides, the
        order is preserved now.
      
      * For the directives which will generate multiple opcodes,
        such as ".save {r0-r11}", the order of the unwind opcode
        is fixed now, i.e. the registers with less encoding value
        are popped first.
      
      * Fix the $sp offset calculation.  Now, we can use the
        .setfp, .pad, .save, and .vsave directives at any order.
      
      Changes to test cases:
      
      * Add test cases to check the order of multiple opcodes
        for the .save directive.
      
      * Fix the incorrect $sp offset in the test case.  The
        stack pointer offset specified in the test case was
        incorrect.  (Changed test cases: ehabi-mc-section.ll and
        ehabi-mc.ll)
      
      * The opcode to restore $sp are slightly reordered.  The
        behavior are not changed, and the new output is same
        as the output of GNU as.  (Changed test cases:
        eh-directive-pad.s and eh-directive-setfp.s)
      
      llvm-svn: 183627
      325823a1
    • Elena Demikhovsky's avatar
    • Tim Northover's avatar
      Make DeadArgumentElimination more conservative on variadic functions · 64280fbb
      Tim Northover authored
      Variadic functions are particularly fragile in the face of ABI changes, so this
      limits how much the pass changes them
      
      llvm-svn: 183625
      64280fbb
    • JF Bastien's avatar
      ARM FastISel fix load register classes · 652fa6a8
      JF Bastien authored
      The register classes when emitting loads weren't quite restricting enough, leading to MI verification failure on the result register.
      
      These are new failures that weren't there the first time I tried enabling ARM FastISel for new targets.
      
      llvm-svn: 183624
      652fa6a8
    • David Majnemer's avatar
      TargetLowering: Clean up method description comments · 0fc8670c
      David Majnemer authored
      llvm-svn: 183623
      0fc8670c
    • Rui Ueyama's avatar
      [PECOFF][Driver] Add -heap command line option. · 9dd08d91
      Rui Ueyama authored
      llvm-svn: 183622
      9dd08d91
  3. Jun 08, 2013
Loading