DIBuilder: Delete dead code, NFC
[oota-llvm.git] / include / llvm / IR / Instruction.h
index 8dd2bbc1b140db782d09f945d8d8b97fa2c0fcb7..4a713ef7df15b7bf5c43f400675110306d886fbf 100644 (file)
@@ -338,6 +338,11 @@ public:
     return mayReadFromMemory() || mayWriteToMemory();
   }
 
+  /// isAtomic - Return true if this instruction has an
+  /// AtomicOrdering of unordered or higher.
+  ///
+  bool isAtomic() const;
+
   /// mayThrow - Return true if this instruction may throw an exception.
   ///
   bool mayThrow() const;