llvm-svn: 150335
This fixes the test with recent versions of LLVM that do not support the old atomic instructions any more. llvm-svn: 145402
Instead of deleting the old code, keep it on the side in an if-branch. It will either be deleted by the dead code elimination or we can use it as fallback. llvm-svn: 131352