aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-19 19:00:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-19 19:00:29 +0000
commitc552ff2825d7d7c8128ae845d3e1512649780f91 (patch)
treeed14ca8e114cbe5010886f0a9f70cd56e09b99b0
parentd932aabff039e32dfd533b9c6a2cc0635a614a56 (diff)
Add a FIXME for unwritten code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34422 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Instruction.cpp2
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: