Anastasia added a comment. No, this shouldn't happen! There shouldn't be any difference in emitted IR depending on a platform. I also don't see any code in CodeGen that could specialize. Is there a way to reproduce your compilation? Passing any triple? http://reviews.llvm.org/D15603