brintos

brintos / llvm-project-archived public Read only

0
0
Text · 648 B · cfbea9c Raw
19 lines · plain
1; RUN: llc < %s -mtriple=mips -o %t2; RUN: grep abs.s  %t | count 13; RUN: grep neg.s %t | count 14 5; FIXME: Should not emit abs.s or neg.s since these instructions produce6;        incorrect results if the operand is NaN.7; REQUIRES: disabled8 9target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"10target triple = "mipsallegrexel-unknown-psp-elf"11 12define float @A(float %i, float %j) nounwind  {13entry:14	tail call float @copysignf( float %i, float %j ) nounwind readnone 		; <float>:0 [#uses=1]15	ret float %016}17 18declare float @copysignf(float, float) nounwind readnone 19