diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-03-30 21:05:33 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-03-30 21:05:33 +0000 |
commit | 3001b35189ad9ad1b3afd39cef9811cafefa2bd1 (patch) | |
tree | c3a9c67a4080260ad795b42ca4b429c6c6cc3443 | |
parent | 1eee6eda0e064a1146c04d37341f4a46d211179e (diff) | |
download | bcm5719-llvm-3001b35189ad9ad1b3afd39cef9811cafefa2bd1.tar.gz bcm5719-llvm-3001b35189ad9ad1b3afd39cef9811cafefa2bd1.zip |
[AVX-512] Fix bad comment from r299112. NFC
llvm-svn: 299114
-rw-r--r-- | llvm/lib/Target/X86/X86FastISel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 06850f36309..f225696afe2 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -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. |