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

Unified Diff: lib/Analysis/ValueTracking.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/ConstantFolding.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/Analysis/ValueTracking.cpp
===================================================================
--- lib/Analysis/ValueTracking.cpp (revision 138929)
+++ lib/Analysis/ValueTracking.cpp (working copy)
@@ -680,10 +680,12 @@
KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits);
break;
}
+#if defined(TARGET_ENABLED_X86)
case Intrinsic::x86_sse42_crc32_64_8:
case Intrinsic::x86_sse42_crc32_64_64:
KnownZero = APInt::getHighBitsSet(64, 32);
break;
+#endif // TARGET_ENABLED_X86
}
}
break;
« no previous file with comments | « lib/Analysis/ConstantFolding.cpp ('k') | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698