brintos

brintos / llvm-project-archived public Read only

0
0
Text · 575 B · 908271a Raw
19 lines · plain
1; RUN: llc -mtriple=x86_64-apple-darwin8 < %s | FileCheck %s2; RUN: llc -mtriple=x86_64-pc-linux < %s | FileCheck %s3 4; FIXME: x32 doesn't know how to select this.  This isn't a regression, it never5; worked.6; RUNX: llc -mtriple=x86_64-pc-linux-gnux32 < %s | FileCheck -check-prefix=X32ABI %s7 8; This used to crash due to topological sorting issues in selection DAG.9define void @foo(ptr sret(i32) %agg.result, i32, i32, i32, i32, i32, ptr %pred) {10entry:11  call void %pred(i32 undef)12  ret void13 14; CHECK-LABEL: foo:15; CHECK: callq16; CHECK: movq {{.*}}, %rax17; CHECK: ret18}19