brintos

brintos / llvm-project-archived public Read only

0
0
Text · 449 B · 58cfcaa Raw
18 lines · plain
1; RUN: llc -mtriple=x86_64-unknown-unknown < %s | FileCheck %s2 3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4;; Checks that interrupt handler code calls cld before calling an external5;; function.6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 8; CHECK: cld9; CHECK: call10 11define x86_intrcc void @foo(ptr byval(i8) %frame) {12  call void @bar()13  ret void14}15 16declare void @bar()17 18