source: icGREP/icgrep-devel/llvm-3.6.1.src/test/CodeGen/R600/fsub64.ll @ 4664

Last change on this file since 4664 was 4664, checked in by cameron, 4 years ago

Upgrade LLVM to 3.6.1

File size: 599 bytes
Line 
1; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
2; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
3
4; SI-LABEL: {{^}}fsub_f64:
5; SI: v_add_f64 {{v\[[0-9]+:[0-9]+\], v\[[0-9]+:[0-9]+\], -v\[[0-9]+:[0-9]+\]}}
6define void @fsub_f64(double addrspace(1)* %out, double addrspace(1)* %in1,
7                      double addrspace(1)* %in2) {
8   %r0 = load double addrspace(1)* %in1
9   %r1 = load double addrspace(1)* %in2
10   %r2 = fsub double %r0, %r1
11   store double %r2, double addrspace(1)* %out
12   ret void
13}
Note: See TracBrowser for help on using the repository browser.