Dale Johannesen | b5611a6 | 2010-07-13 20:17:05 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s |
| 2 | ; PR 7528 |
| 3 | ; formerly crashed |
| 4 | |
| 5 | %0 = type { [12 x i16] } |
| 6 | %union..0anon = type { [3 x <1 x i64>] } |
| 7 | |
| 8 | @gsm_H.1466 = internal constant %0 { [12 x i16] [i16 -134, i16 -374, i16 0, i16 2054, i16 5741, i16 8192, i16 5741, i16 2054, i16 0, i16 -374, i16 -134, i16 0] }, align 8 ; <%0*> [#uses=1] |
| 9 | |
| 10 | define void @weighting_filter() nounwind ssp { |
| 11 | entry: |
| 12 | ; CHECK: leaq _gsm_H.1466(%rip),%rax; |
| 13 | call void asm sideeffect "leaq $0,%rax;\0A", "*X,~{dirflag},~{fpsr},~{flags},~{memory},~{rax}"(%union..0anon* bitcast (%0* @gsm_H.1466 to %union..0anon*)) nounwind |
| 14 | br label %return |
| 15 | |
| 16 | return: ; preds = %entry |
| 17 | ret void |
| 18 | } |