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

Unified Diff: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Issue 7792066: [llvm] Conditionally include target intrinsics, based on --enable-target Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: cleanups Created 9 years, 4 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/Analysis/ValueTracking.cpp ('k') | lib/Target/CBackend/CBackend.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
===================================================================
--- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (revision 138929)
+++ lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (working copy)
@@ -4768,6 +4768,7 @@
return 0;
}
+#if defined(TARGET_ENABLED_X86)
case Intrinsic::x86_mmx_pslli_w:
case Intrinsic::x86_mmx_pslli_d:
case Intrinsic::x86_mmx_pslli_q:
@@ -4828,6 +4829,7 @@
setValue(&I, Res);
return 0;
}
+#endif // TARGET_ENABLED_X86
case Intrinsic::convertff:
case Intrinsic::convertfsi:
case Intrinsic::convertfui:
« no previous file with comments | « lib/Analysis/ValueTracking.cpp ('k') | lib/Target/CBackend/CBackend.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698