add comments regarding constant 'true' field

This commit is contained in:
Anton Mitrokhin
2015-02-12 15:10:38 +03:00
parent 8eeeebf091
commit 280675eb80

View File

@@ -4517,7 +4517,7 @@ void CWriter::visitAtomicCmpXchgInst(llvm::AtomicCmpXchgInst &ACXI) {
Out << ", ";
writeOperand(ACXI.getNewValOperand());
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 << ")";
}