[PATCH] D45736: [SimplifyLibcalls] Replace locked IO with unlocked IO
    Dávid Bolvanský via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Apr 17 16:31:36 PDT 2018
    
    
  
xbolva00 added a comment.
In https://reviews.llvm.org/D45736#1070442, @efriedma wrote:
> That should work, as far as I know; maybe we aren't adding the right nocapture markings to the fwrite() call?
Currently there is:
  case LibFunc_fwrite:
    Changed |= setDoesNotThrow(F);
    Changed |= setDoesNotCapture(F, 0);
    Changed |= setDoesNotCapture(F, 3);
    // FIXME: readonly #1?
    return Changed;
Repository:
  rL LLVM
https://reviews.llvm.org/D45736
    
    
More information about the llvm-commits
mailing list