Support for emitting libcalls for atomic_fetch_nand and
atomic_{add,sub,and,or,xor,nand}_fetch was missing; add it, and some
test cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/CGAtomic.cpp | ||
---|---|---|
811–815 ↗ | (On Diff #28805) | Do any of the tests cover this part of the change? |
lib/CodeGen/CGAtomic.cpp | ||
---|---|---|
811–815 ↗ | (On Diff #28805) | None of the new ones do, but also note that this part is not a change in behavior, just changing from "default:" to listing all the options not listed above, so that missing a case emits a warning. These calls are at least mostly covered by other tests, although I did not audit them to ensure 100% coverage. |