Skip to content
  1. Apr 02, 2012
  2. Apr 01, 2012
  3. Mar 31, 2012
    • Rafael Espindola's avatar
      Add a workaround for building with old versions of clang. · 1eaae507
      Rafael Espindola authored
      llvm-svn: 153820
      1eaae507
    • Rafael Espindola's avatar
      Add a triple to the test. · 77242fa7
      Rafael Espindola authored
      llvm-svn: 153818
      77242fa7
    • Rafael Espindola's avatar
      Teach CodeGen's version of computeMaskedBits to understand the range metadata. · 80c540e6
      Rafael Espindola authored
      This is the CodeGen equivalent of r153747. I tested that there is not noticeable
      performance difference with any combination of -O0/-O2 /-g when compiling
      gcc as a single compilation unit.
      
      llvm-svn: 153817
      80c540e6
    • Hal Finkel's avatar
      Fix dynamic linking on PPC64. · 51861b48
      Hal Finkel authored
      Dynamic linking on PPC64 has had problems since we had to move the top-down
      hazard-detection logic post-ra. For dynamic linking to work there needs to be
      a nop placed after every call. It turns out that it is really hard to guarantee
      that nothing will be placed in between the call (bl) and the nop during post-ra
      scheduling. Previous attempts at fixing this by placing logic inside the
      hazard detector only partially worked.
      
      This is now fixed in a different way: call+nop codegen-only instructions. As far
      as CodeGen is concerned the pair is now a single instruction and cannot be split.
      This solution works much better than previous attempts.
      
      The scoreboard hazard detector is also renamed to be more generic, there is currently
      no cpu-specific logic in it.
      
      llvm-svn: 153816
      51861b48
    • Chandler Carruth's avatar
      Fix a typo reported in IRC by someone reviewing this code. · 1a4cc6cc
      Chandler Carruth authored
      llvm-svn: 153815
      1a4cc6cc
    • Chandler Carruth's avatar
      Give the always-inliner its own custom filter. It shouldn't have to pay · a88a0faa
      Chandler Carruth authored
      the very high overhead of the complex inline cost analysis when all it
      wants to do is detect three patterns which must not be inlined. Comment
      the code, clean it up, and leave some hints about possible performance
      improvements if this ever shows up on a profile.
      
      Moving this off of the (now more expensive) inline cost analysis is
      particularly important because we have to run this inliner even at -O0.
      
      llvm-svn: 153814
      a88a0faa
Loading