| Dan Gohman | a080159 | 2009-09-11 18:36:27 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 |
| Sean Callanan | 04d8cb7 | 2009-12-18 00:01:26 +0000 | [diff] [blame] | 2 | ; RUN: grep {callq __fixunsxfti@PLT} %t1 |
| Rafael Espindola | 29479df | 2008-06-09 09:52:31 +0000 | [diff] [blame] | 3 | |
| Dan Gohman | 9023fd2 | 2009-08-01 19:11:04 +0000 | [diff] [blame] | 4 | define i128 @f(x86_fp80 %a) nounwind { |
| Rafael Espindola | 29479df | 2008-06-09 09:52:31 +0000 | [diff] [blame] | 5 | entry: |
| 6 | %tmp78 = fptoui x86_fp80 %a to i128 |
| 7 | ret i128 %tmp78 |
| 8 | } |