add comments regarding constant 'true' field
This commit is contained in:
@@ -4517,7 +4517,7 @@ void CWriter::visitAtomicCmpXchgInst(llvm::AtomicCmpXchgInst &ACXI) {
|
|||||||
Out << ", ";
|
Out << ", ";
|
||||||
writeOperand(ACXI.getNewValOperand());
|
writeOperand(ACXI.getNewValOperand());
|
||||||
Out << "), ";
|
Out << "), ";
|
||||||
Out << "true"; // The result of the instruction is always success
|
Out << "true /* There is no way to learn the value of this bit inside ISPC, so making it constant */";
|
||||||
Out << ")";
|
Out << ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user