blob: e5cad9e164fb623380f64f4235a1b8c85f0fd6ac [file] [log] [blame]
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00001; RUN: llvm-as < %s | \
Dan Gohman2d65d352009-08-25 15:38:29 +00002; RUN: llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00003; 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}