[llvm-branch-commits] [llvm-branch] r164387 - in /llvm/branches/R600/test/CodeGen/R600: llvm.AMDGPU.pow.ll llvm.pow.ll

Tom Stellard thomas.stellard at amd.com
Fri Sep 21 10:30:13 PDT 2012


Author: tstellar
Date: Fri Sep 21 12:30:13 2012
New Revision: 164387

URL: http://llvm.org/viewvc/llvm-project?rev=164387&view=rev
Log:
Revert "XXX: Update pow test"  This WIP commit was accidently pulled.

This reverts commit 4ec406484a4dc0908b6749fa97fe7537d2510c2f.

Added:
    llvm/branches/R600/test/CodeGen/R600/llvm.AMDGPU.pow.ll
      - copied, changed from r164386, llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll
Removed:
    llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll

Copied: llvm/branches/R600/test/CodeGen/R600/llvm.AMDGPU.pow.ll (from r164386, llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/test/CodeGen/R600/llvm.AMDGPU.pow.ll?p2=llvm/branches/R600/test/CodeGen/R600/llvm.AMDGPU.pow.ll&p1=llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll&r1=164386&r2=164387&rev=164387&view=diff
==============================================================================
--- llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll (original)
+++ llvm/branches/R600/test/CodeGen/R600/llvm.AMDGPU.pow.ll Fri Sep 21 12:30:13 2012
@@ -7,7 +7,7 @@
 define void @test() {
    %r0 = call float @llvm.R600.load.input(i32 0)
    %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = call float @llvm.pow( float %r0, float %r1)
+   %r2 = call float @llvm.AMDGPU.pow( float %r0, float %r1)
    call void @llvm.AMDGPU.store.output(float %r2, i32 0)
    ret void
 }
@@ -16,4 +16,4 @@
 
 declare void @llvm.AMDGPU.store.output(float, i32)
 
-declare float @llvm.pow(float ,float ) readnone
+declare float @llvm.AMDGPU.pow(float ,float ) readnone

Removed: llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll?rev=164386&view=auto
==============================================================================
--- llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll (original)
+++ llvm/branches/R600/test/CodeGen/R600/llvm.pow.ll (removed)
@@ -1,19 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
-
-;CHECK: LOG_IEEE T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
-;CHECK-NEXT: MUL NON-IEEE T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
-;CHECK-NEXT: EXP_IEEE T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = call float @llvm.pow( float %r0, float %r1)
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.pow(float ,float ) readnone





More information about the llvm-branch-commits mailing list