mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
11ae250ec9
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213287 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|
|
|