Evan Cheng | 5a67b81 | 2008-01-23 23:17:41 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 | grep add | not grep 16 |
| 2 | |
| 3 | %struct.W = type { x86_fp80, x86_fp80 } |
| 4 | @B = global %struct.W { x86_fp80 0xK4001A000000000000000, x86_fp80 0xK4001C000000000000000 }, align 32 |
| 5 | @.cpx = internal constant %struct.W { x86_fp80 0xK4001E000000000000000, x86_fp80 0xK40028000000000000000 } |
| 6 | |
| 7 | define i32 @main() nounwind { |
| 8 | entry: |
| 9 | tail call void (i32, ...)* @bar( i32 3, %struct.W* byval @.cpx ) nounwind |
| 10 | tail call void (i32, ...)* @baz( i32 3, %struct.W* byval @B ) nounwind |
| 11 | ret i32 undef |
| 12 | } |
| 13 | |
| 14 | declare void @bar(i32, ...) |
| 15 | |
| 16 | declare void @baz(i32, ...) |