mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[X86][SSE] Added TODO comment to add support for AVX512 mask registers to shuffle comments
This came up in discussion on D19198 llvm-svn: 268915
This commit is contained in:
parent
22a6cb21be
commit
3ddc1a30df
@ -741,6 +741,7 @@ bool llvm::EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
|
||||
if (ShuffleMask.empty())
|
||||
return false;
|
||||
|
||||
// TODO: Add support for specifying an AVX512 style mask register in the comment.
|
||||
if (!DestName) DestName = Src1Name;
|
||||
OS << (DestName ? DestName : "mem") << " = ";
|
||||
|
||||
|
@ -1109,6 +1109,7 @@ static std::string getShuffleComment(const MachineOperand &DstOp,
|
||||
return X86ATTInstPrinter::getRegisterName(RegNum);
|
||||
};
|
||||
|
||||
// TODO: Add support for specifying an AVX512 style mask register in the comment.
|
||||
StringRef DstName = DstOp.isReg() ? GetRegisterName(DstOp.getReg()) : "mem";
|
||||
StringRef Src1Name =
|
||||
SrcOp1.isReg() ? GetRegisterName(SrcOp1.getReg()) : "mem";
|
||||
|
Loading…
Reference in New Issue
Block a user