Skip to content
  1. Jul 25, 2012
  2. Jul 24, 2012
  3. Jul 23, 2012
  4. Jul 22, 2012
  5. Jul 21, 2012
  6. Jul 20, 2012
    • Jakob Stoklund Olesen's avatar
      Avoid folding loads that are unsafe to move. · e2cfd0d4
      Jakob Stoklund Olesen authored
      LiveRangeEdit::foldAsLoad() can eliminate a register by folding a load
      into its only use. Only do that when the load is safe to move, and it
      won't extend any live ranges.
      
      This fixes PR13414.
      
      llvm-svn: 160575
      e2cfd0d4
    • Chandler Carruth's avatar
      Fix a dangling StringRef bug in the auto upgrader. In one case, we reset · 1f41bf0c
      Chandler Carruth authored
      CI's name, and then used the StringRef pointing at its old name. I'm
      fixing it by storing the name in a std::string, and hoisting the
      renaming logic to happen always. This is nicer anyways as it will allow
      the upgraded IR to have the same names as the input IR in more cases.
      
      Another bug found by AddressSanitizer. Woot.
      
      llvm-svn: 160572
      1f41bf0c
Loading