[AVX-512] Fix bad comment from r299112. NFC

llvm-svn: 299114
This commit is contained in:
Craig Topper 2017-03-30 21:05:33 +00:00
parent 1eee6eda0e
commit 3001b35189
1 changed files with 2 additions and 1 deletions

View File

@ -3533,7 +3533,8 @@ bool X86FastISel::fastLowerCall(CallLoweringInfo &CLI) {
report_fatal_error("SSE register return with SSE disabled");
}
// If the return value is an i1 and AVX-512 is enabled, stop.
// If the return value is an i1 and AVX-512 is enabled, we need
// to do a fixup to make the copy legal.
if (CopyVT == MVT::i1 && SrcReg == X86::AL && Subtarget->hasAVX512()) {
// Need to copy to a GR32 first.
// TODO: MOVZX isn't great here. We don't care about the upper bits.