Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/llvm/dist/llvm/test/CodeGen Mark files not pres...



details:   https://anonhg.NetBSD.org/src/rev/9897ad75dc4f
branches:  trunk
changeset: 338542:9897ad75dc4f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 29 17:32:05 2015 +0000

description:
Mark files not present in llvm-237755 as dead.

diffstat:

 external/bsd/llvm/dist/llvm/test/CodeGen/R600/fdiv64.ll                     |  14 ----
 external/bsd/llvm/dist/llvm/test/CodeGen/R600/llvm.SI.fs.interp.constant.ll |  21 ------
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastmath-optnone.ll            |  35 ----------
 3 files changed, 0 insertions(+), 70 deletions(-)

diffs (82 lines):

diff -r 87bca9cd6ceb -r 9897ad75dc4f external/bsd/llvm/dist/llvm/test/CodeGen/R600/fdiv64.ll
--- a/external/bsd/llvm/dist/llvm/test/CodeGen/R600/fdiv64.ll   Fri May 29 17:21:44 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-; RUN: llc < %s -march=amdgcn -mcpu=tahiti -verify-machineinstrs | FileCheck %s
-
-; CHECK: {{^}}fdiv_f64:
-; CHECK: v_rcp_f64_e32 {{v\[[0-9]+:[0-9]+\]}}
-; CHECK: v_mul_f64 {{v\[[0-9]+:[0-9]+\]}}, {{v\[[0-9]+:[0-9]+\]}}, {{v\[[0-9]+:[0-9]+\]}}
-
-define void @fdiv_f64(double addrspace(1)* %out, double addrspace(1)* %in1,
-                      double addrspace(1)* %in2) {
-   %r0 = load double addrspace(1)* %in1
-   %r1 = load double addrspace(1)* %in2
-   %r2 = fdiv double %r0, %r1
-   store double %r2, double addrspace(1)* %out
-   ret void
-}
diff -r 87bca9cd6ceb -r 9897ad75dc4f external/bsd/llvm/dist/llvm/test/CodeGen/R600/llvm.SI.fs.interp.constant.ll
--- a/external/bsd/llvm/dist/llvm/test/CodeGen/R600/llvm.SI.fs.interp.constant.ll       Fri May 29 17:21:44 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-;RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs | FileCheck %s
-
-;CHECK: s_mov_b32
-;CHECK-NEXT: v_interp_mov_f32
-
-define void @main(<16 x i8> addrspace(2)* inreg, <16 x i8> addrspace(2)* inreg, <32 x i8> addrspace(2)* inreg, i32 inreg) "ShaderType"="0" {
-main_body:
-  %4 = call float @llvm.SI.fs.constant(i32 0, i32 0, i32 %3)
-  %5 = call i32 @llvm.SI.packf16(float %4, float %4)
-  %6 = bitcast i32 %5 to float
-  call void @llvm.SI.export(i32 15, i32 1, i32 1, i32 0, i32 1, float %6, float %6, float %6, float %6)
-  ret void
-}
-
-declare void @llvm.AMDGPU.shader.type(i32)
-
-declare float @llvm.SI.fs.constant(i32, i32, i32) readnone
-
-declare i32 @llvm.SI.packf16(float, float) readnone
-
-declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float)
diff -r 87bca9cd6ceb -r 9897ad75dc4f external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastmath-optnone.ll
--- a/external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastmath-optnone.ll  Fri May 29 17:21:44 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-; RUN: llc < %s -mcpu=corei7 -march=x86-64 -mattr=+sse2 | FileCheck %s
-; Verify that floating-point operations inside 'optnone' functions
-; are not optimized even if unsafe-fp-math is set.
-
-define float @foo(float %x) #0 {
-entry:
-  %add = fadd fast float %x, %x
-  %add1 = fadd fast float %add, %x
-  ret float %add1
-}
-
-; CHECK-LABEL: @foo
-; CHECK-NOT: add
-; CHECK: mul
-; CHECK-NOT: add
-; CHECK: ret
-
-define float @fooWithOptnone(float %x) #1 {
-entry:
-  %add = fadd fast float %x, %x
-  %add1 = fadd fast float %add, %x
-  ret float %add1
-}
-
-; CHECK-LABEL: @fooWithOptnone
-; CHECK-NOT: mul
-; CHECK: add
-; CHECK-NOT: mul
-; CHECK: add
-; CHECK-NOT: mul
-; CHECK: ret
-
-
-attributes #0 = { "unsafe-fp-math"="true" }
-attributes #1 = { noinline optnone "unsafe-fp-math"="true" }



Home | Main Index | Thread Index | Old Index