[llvm] [IR] Add Instruction::canSynchronize() method (NFC) (PR #196052)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 05:58:29 PDT 2026


================
@@ -1170,6 +1170,33 @@ bool Instruction::isVolatile() const {
   }
 }
 
+bool Instruction::canSynchronize() const {
----------------
antoniofrighetto wrote:

Maybe s/canSynchronize/maySynchronize/ for consistency (especially now that is overly conservative)?

https://github.com/llvm/llvm-project/pull/196052


More information about the llvm-commits mailing list