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

Unified Diff: test/Transforms/InstCombine/x86-crc32-demanded.ll

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
Index: test/Transforms/InstCombine/x86-crc32-demanded.ll
===================================================================
--- test/Transforms/InstCombine/x86-crc32-demanded.ll (revision 138929)
+++ test/Transforms/InstCombine/x86-crc32-demanded.ll (working copy)
@@ -1,17 +0,0 @@
-; RUN: opt < %s -instcombine -S | FileCheck %s
-
-; crc32 with 64-bit destination zeros high 32-bit.
-; rdar://9467055
-
-define i64 @test() nounwind {
-entry:
-; CHECK: test
-; CHECK: tail call i64 @llvm.x86.sse42.crc32.64.64
-; CHECK-NOT: and
-; CHECK: ret
- %0 = tail call i64 @llvm.x86.sse42.crc32.64.64(i64 0, i64 4) nounwind
- %1 = and i64 %0, 4294967295
- ret i64 %1
-}
-
-declare i64 @llvm.x86.sse42.crc32.64.64(i64, i64) nounwind readnone
« no previous file with comments | « test/Transforms/InstCombine/vec_demanded_elts.ll ('k') | test/Transforms/ScalarRepl/2006-11-07-InvalidArrayPromote.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698