Return true if AtomicExpandPass should insert fences and relax ordering for this atomic instruction.
Declared in <llvm/CodeGen/TargetLowering.h>
virtual
bool
shouldInsertFencesForAtomic(Instruction const* I) const;
Whether AtomicExpandPass should automatically insert fences and reduce ordering for this atomic. This should be true for most architectures with weak memory ordering. Defaults to false.
True if AtomicExpandPass should insert fences and relax ordering for this atomic instruction.
| Name | Description |
|---|---|
| I | Instruction being queried. |