diff options
-rw-r--r-- | lib/VMCore/Instruction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index 48c73a0840..ffad11b148 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -239,6 +239,8 @@ bool Instruction::mayWriteToMemory() const { case Instruction::Call: if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(this)) { // If the intrinsic doesn't write memory, it is safe. + // FIXME: this is obviously supposed to determine which intrinsics + // don't write to memory, but hasn't been implemented yet. } return true; case Instruction::Load: |