[PATCH] D141277: [InstCombine] Don't optimize idempotent `atomicrmw <op>, 0` into `load atomic`
    Matt Arsenault via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan 17 12:11:57 PST 2023
    
    
  
arsenm added a comment.
Can you just insert a fence to go with the load?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141277/new/
https://reviews.llvm.org/D141277
    
    
More information about the llvm-commits
mailing list