Hi again, Just re-read your code and realised it doesn't make any such assumption. I somehow missed that you went for IntPtrType. Looks good! Tim http://llvm-reviews.chandlerc.com/D3006 BRANCH fix-atomic-libcall-2 ARCANIST PROJECT clang