blob: 154edb9c36373ce18e071ecf724f0ceb0e59fba4 [file] [edit]
.text
.file "/s/llvm-upstream/llvm/test/CodeGen/WebAssembly/copysign-casts.ll"
.globl fold_promote
.type fold_promote,@function
fold_promote:
.param f64, f32
.result f64
f64.promote/f32 $push0=, $1
f64.copysign $push1=, $0, $pop0
.endfunc
.Lfunc_end0:
.size fold_promote, .Lfunc_end0-fold_promote
.globl fold_demote
.type fold_demote,@function
fold_demote:
.param f32, f64
.result f32
f32.demote/f64 $push0=, $1
f32.copysign $push1=, $0, $pop0
.endfunc
.Lfunc_end1:
.size fold_demote, .Lfunc_end1-fold_demote
.functype copysign, f64, f64, f64
.functype copysignf, f32, f32, f32