AtomicExpandLoadLinked is currently rather ARM-specific. This patch is the first of
a group that aim at making it more target-independent. See
http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-August/075873.html
for details
Details
Details
- Reviewers
jfb
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Robin,
I think this is mostly straightforward. I've just got one comment on the command-line option we end up with.
Cheers.
Tim.
lib/CodeGen/AtomicExpandPass.cpp | ||
---|---|---|
55 | I think "-atomic" is too generic as an option name. It should probably be "-atomic-expand" or something. Actually "-lower-atomic" would probably be even better but it's already taken by another pass which just replaces all atomic ops with non-atomic ones. Bonus points for coming up with a simple but obvious naming distinction there. |
Comment Actions
Changed the command line option from -atomic to -atomic-expand, based on a comment by Tim Northover.
JF: can you accept the revision? Thanks.
I think "-atomic" is too generic as an option name. It should probably be "-atomic-expand" or something.
Actually "-lower-atomic" would probably be even better but it's already taken by another pass which just replaces all atomic ops with non-atomic ones. Bonus points for coming up with a simple but obvious naming distinction there.