b-sumner added inline comments. ================ Comment at: lib/CodeGen/TargetInfo.cpp:7555 + if (NumRegsLeft > 0) + NumRegsLeft -= (Size + 31) / 32; + ---------------- Won't NumRegsLeft wrap if size==64 and NumRegsLeft == 1 potentially causing an assert later? https://reviews.llvm.org/D36171