These hooks will be used in a later patch by AtomicExpandPass.
They will replace the current "target-independent"
AtomicExpandLoadLinkedPass::insertLeading/TrailingFence which are incorrect, but happen
to work on ARM where they are used.
Details
Details
- Reviewers
jfb
Diff Detail
Diff Detail
Event Timeline
| include/llvm/Target/TargetLowering.h | ||
|---|---|---|
| 962 | I'm not sure if LLVM uses CAS in comments? It would be better to stay consistent can say CmpXchg. | |
| 963 | Does this mean that the base implementation below can: assert(!getInsertFencesForAtomic()); ? The comment should also s/insertFencesForAtomic/getInsertFencesForAtomic/ | |
I'm not sure if LLVM uses CAS in comments? It would be better to stay consistent can say CmpXchg.