The lowering isn't really an optimization, so optnone shouldn't make a difference. ARM relies on the pass running when using "-mthread-model single", because in that mode, it doesn't run AtomicExpand. See bug for more details.
Details
Details
- Reviewers
t.p.northover pcc rengolin - Commits
- rGa58f36d2e51d: Merging r311565: --------------------------------------------------------------…
rG66f6fc0a4923: LowerAtomic: Don't skip optnone functions; atomic still need lowering (PR34020)
rL311602: Merging r311565:
rL311565: LowerAtomic: Don't skip optnone functions; atomic still need lowering (PR34020)
Diff Detail
Diff Detail
- Repository
- rL LLVM