Rafael Espindola | e0ac18d | 2008-06-09 09:52:31 +0000 | [diff] [blame] | 1 | ; 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 Gohman | 2d4a6ec | 2009-08-01 19:11:04 +0000 | [diff] [blame^] | 5 | define i128 @f(x86_fp80 %a) nounwind { |
Rafael Espindola | e0ac18d | 2008-06-09 09:52:31 +0000 | [diff] [blame] | 6 | entry: |
7 | %tmp78 = fptoui x86_fp80 %a to i128 | ||||
8 | ret i128 %tmp78 | ||||
9 | } |