I couldn't try this with a different allocator, because -mregalloc doesn't work with -O0. However the problem isn't reproducible with -O1, so it might be a good idea to file a regalloc bug. http://reviews.llvm.org/D10719 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/