Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: lib/CodeGen/IntrinsicLowering.cpp

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/CodeGen/AsmPrinter/DwarfDebug.cpp ('k') | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/CodeGen/IntrinsicLowering.cpp
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index d894f664dcb3dd19c2abd33e0c3dd8a54f2704fb..07f0ccf52f8c9a7afe91ca55d266750f83d4edc2 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/lib/CodeGen/IntrinsicLowering.cpp
@@ -453,12 +453,6 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1));
break;
- case Intrinsic::annotation:
- case Intrinsic::ptr_annotation:
- // Just drop the annotation, but forward the value
- CI->replaceAllUsesWith(CI->getOperand(0));
- break;
-
case Intrinsic::var_annotation:
break; // Strip out annotate intrinsic
« no previous file with comments | « lib/CodeGen/AsmPrinter/DwarfDebug.cpp ('k') | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698