Skip to content
  1. Jun 16, 2011
  2. Jun 15, 2011
    • Eli Friedman's avatar
      Simplify; no significant functionality change. · 19ace4c3
      Eli Friedman authored
      llvm-svn: 133086
      19ace4c3
    • Rafael Espindola's avatar
      Fix cmake build. · ea7a0277
      Rafael Espindola authored
      llvm-svn: 133085
      ea7a0277
    • Rafael Espindola's avatar
      Handle jump tables. Test to follow soon. · ab205672
      Rafael Espindola authored
      llvm-svn: 133083
      ab205672
    • John McCall's avatar
      Add a new function attribute, nonlazybind, which inhibits lazy-loading · 4b7a8d68
      John McCall authored
      optimizations when emitting calls to the function;  instead those calls may
      use faster relocations which require the function to be immediately resolved
      upon loading the dynamic object featuring the call.  This is useful when it
      is known that the function will be called frequently and pervasively and
      therefore there is no merit in delaying binding of the function.
      
      Currently only implemented for x86-64, where it turns into a call through
      the global offset table.
      
      Patch by Dan Gohman, who assures me that he's going to add LangRef documentation
      for this once it's committed.
      
      llvm-svn: 133080
      4b7a8d68
    • Eli Friedman's avatar
      Remove unused code. · a472b7d9
      Eli Friedman authored
      llvm-svn: 133078
      a472b7d9
    • Jim Grosbach's avatar
      Diagnostic for undefined assembler local symbols. · c7e6b8fe
      Jim Grosbach authored
      Re-apply 133010, with fixes for inline assembler.
      
      Original commit message:
      "When an assembler local symbol is used but not defined in a module, a
      Darwin assembler wants to issue a diagnostic to that effect."
      
      Added fix to only perform the check when finalizing, as otherwise we're not
      done and undefined symbols may simply not have been encountered yet.
      
      Passes "make check" and a self-host check on Darwin.
      
      llvm-svn: 133071
      c7e6b8fe
    • Jakob Stoklund Olesen's avatar
      Remove custom allocation orders in SystemZ. · 5977109f
      Jakob Stoklund Olesen authored
      Note that this actually changes code generation, and someone who
      understands this target better should check the changes.
      
      - R12Q is now allocatable. I think it was omitted from the allocation
        order by mistake since it isn't reserved. It as apparently used as a
        GOT pointer sometimes, and it should probably be reserved if that is
        the case.
      
      - The GR64 registers are allocated in a different order now. The
        register allocator will automatically put the CSRs last. There were
        other changes to the order that may have been significant.
      
      The test fix is because r0 and r1 swapped places in the allocation order.
      
      llvm-svn: 133067
      5977109f
    • Evan Cheng's avatar
      Another revsh pattern. rdar://9609059 · 678b691a
      Evan Cheng authored
      llvm-svn: 133064
      678b691a
    • Andrew Trick's avatar
      Added -stress-sched flag in the Asserts build. · 3013b6ae
      Andrew Trick authored
      Added a test case for handling physreg aliases during pre-RA-sched.
      
      llvm-svn: 133063
      3013b6ae
    • Roman Divacky's avatar
      Make PPC64CompilationCallback compilable no non-darwin platforms. · 6874b26d
      Roman Divacky authored
      Patch by Nathan Whitehorn!
      
      llvm-svn: 133059
      6874b26d
    • Nadav Rotem's avatar
      getZeroExtendInReg needs to get a scalar type · 13cb7736
      Nadav Rotem authored
      llvm-svn: 133057
      13cb7736
    • Nadav Rotem's avatar
      · d2d9bdb2
      Nadav Rotem authored
      Enable the simplification of truncating-store after fixing the usage of
      GetDemandBits (which must operate on the vector element type).
      
      Fix the a usage of getZeroExtendInReg which must also be done on scalar types.
      
      llvm-svn: 133052
      d2d9bdb2
    • Owen Anderson's avatar
      Replace the statically generated hashtables for checking register... · 86fd3c00
      Owen Anderson authored
      Replace the statically generated hashtables for checking register relationships with just scanning the (typically tiny) static lists.
      
      At the time I wrote this code (circa 2007), TargetRegisterInfo was using a std::set to perform these queries.  Switching to the static hashtables was an obvious improvement, but in reality there's no reason to do anything other than scan.
      With this change, total LLC time on a whole-program 403.gcc is reduced by approximately 1.5%, almost all of which comes from a 15% reduction in LiveVariables time.  It also reduces the binary size of LLC by 86KB, thanks to eliminating a bunch of very large static tables.
      
      llvm-svn: 133051
      86fd3c00
Loading