summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instruction.cpp
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
commit887ae70af56c60318946e4e695612e3b3fc74f58 (patch)
tree07046edda60135315e1956dd05b8925733bdeae0 /llvm/lib/VMCore/Instruction.cpp
parent0ae16357caa9d9e48cc5674d2ec7e7a86a082150 (diff)
downloadbcm5719-llvm-887ae70af56c60318946e4e695612e3b3fc74f58.tar.gz
bcm5719-llvm-887ae70af56c60318946e4e695612e3b3fc74f58.zip
Add a FIXME for unwritten code.
llvm-svn: 34422
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r--llvm/lib/VMCore/Instruction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp
index 48c73a08400..ffad11b1488 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud