mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
3021ef095b
We now consider the FPOpFusion flag when determining whether to fuse ops. We also explicitly emit add.rn when fusion is disabled to prevent ptxas from fusing the operations on its own. llvm-svn: 213287
10 lines
264 B
LLVM
10 lines
264 B
LLVM
; RUN: llc < %s -O0 -march=nvptx -mcpu=sm_20 -asm-verbose=1 | FileCheck %s
|
|
|
|
; CHECK: // implicit-def: %f[[F0:[0-9]+]]
|
|
; CHECK: add.rn.f32 %f{{[0-9]+}}, %f{{[0-9]+}}, %f[[F0]];
|
|
define float @foo(float %a) {
|
|
%ret = fadd float %a, undef
|
|
ret float %ret
|
|
}
|
|
|