Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
« 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