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

Unified Diff: test/Transforms/ConstProp/calls.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
« no previous file with comments | « test/Transforms/ConstProp/X86/dg.exp ('k') | test/Transforms/InstCombine/2008-07-16-sse2_storel_dq.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/ConstProp/calls.ll
===================================================================
--- test/Transforms/ConstProp/calls.ll (revision 138929)
+++ test/Transforms/ConstProp/calls.ll (working copy)
@@ -26,36 +26,3 @@
%d = fadd double %c, %E
ret double %d
}
-
-define i1 @test_sse_cvt() nounwind readnone {
-; CHECK: @test_sse_cvt
-; CHECK-NOT: call
-; CHECK: ret i1 true
-entry:
- %i0 = tail call i32 @llvm.x86.sse.cvtss2si(<4 x float> <float 1.75, float undef, float undef, float undef>) nounwind
- %i1 = tail call i32 @llvm.x86.sse.cvttss2si(<4 x float> <float 1.75, float undef, float undef, float undef>) nounwind
- %i2 = tail call i64 @llvm.x86.sse.cvtss2si64(<4 x float> <float 1.75, float undef, float undef, float undef>) nounwind
- %i3 = tail call i64 @llvm.x86.sse.cvttss2si64(<4 x float> <float 1.75, float undef, float undef, float undef>) nounwind
- %i4 = call i32 @llvm.x86.sse2.cvtsd2si(<2 x double> <double 1.75, double undef>) nounwind
- %i5 = call i32 @llvm.x86.sse2.cvttsd2si(<2 x double> <double 1.75, double undef>) nounwind
- %i6 = call i64 @llvm.x86.sse2.cvtsd2si64(<2 x double> <double 1.75, double undef>) nounwind
- %i7 = call i64 @llvm.x86.sse2.cvttsd2si64(<2 x double> <double 1.75, double undef>) nounwind
- %sum11 = add i32 %i0, %i1
- %sum12 = add i32 %i4, %i5
- %sum1 = add i32 %sum11, %sum12
- %sum21 = add i64 %i2, %i3
- %sum22 = add i64 %i6, %i7
- %sum2 = add i64 %sum21, %sum22
- %sum1.sext = sext i32 %sum1 to i64
- %b = icmp eq i64 %sum1.sext, %sum2
- ret i1 %b
-}
-
-declare i32 @llvm.x86.sse.cvtss2si(<4 x float>) nounwind readnone
-declare i32 @llvm.x86.sse.cvttss2si(<4 x float>) nounwind readnone
-declare i64 @llvm.x86.sse.cvtss2si64(<4 x float>) nounwind readnone
-declare i64 @llvm.x86.sse.cvttss2si64(<4 x float>) nounwind readnone
-declare i32 @llvm.x86.sse2.cvtsd2si(<2 x double>) nounwind readnone
-declare i32 @llvm.x86.sse2.cvttsd2si(<2 x double>) nounwind readnone
-declare i64 @llvm.x86.sse2.cvtsd2si64(<2 x double>) nounwind readnone
-declare i64 @llvm.x86.sse2.cvttsd2si64(<2 x double>) nounwind readnone
« no previous file with comments | « test/Transforms/ConstProp/X86/dg.exp ('k') | test/Transforms/InstCombine/2008-07-16-sse2_storel_dq.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698