blob: e4032b527faae738cb3afe2e9fa3a7735f5bc9ef [file] [log] [blame]
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00001; RUN: llvm-as < %s | \
2; RUN: llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f
3; RUN: grep {call __fixunsxfti@PLT} %t1
4
Dan Gohman2d4a6ec2009-08-01 19:11:04 +00005define i128 @f(x86_fp80 %a) nounwind {
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00006entry:
7 %tmp78 = fptoui x86_fp80 %a to i128
8 ret i128 %tmp78
9}