summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-06-15 22:26:58 +0000
committerTanya Lattner <tonic@nondot.org>2007-06-15 22:26:58 +0000
commite199f97fa8a70441e509450e3db56c6e19e7d68e (patch)
tree19344990d12eab6304ff50213ed611ff970ba655 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent23402fcaef57a682d491ac4f5834e05a9ef9d4ef (diff)
downloadbcm5719-llvm-e199f97fa8a70441e509450e3db56c6e19e7d68e.tar.gz
bcm5719-llvm-e199f97fa8a70441e509450e3db56c6e19e7d68e.zip
Codegen support (stripped out) for the annotate attribute.
llvm-svn: 37608
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c9ed8b62473..d1a5b88ed24 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -2774,6 +2774,10 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
case Intrinsic::prefetch:
// FIXME: Currently discarding prefetches.
return 0;
+
+ case Intrinsic::var_annotation:
+ // Discard annotate attributes
+ return 0;
}
}
OpenPOWER on IntegriCloud