Add tests for IRBuilder positioning
Add test for atomicrmw