You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
439 B
18 lines
439 B
7 months ago
|
; RUN: llc -mtriple=x86_64-unknown-unknown < %s | FileCheck %s
|
||
|
|
||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
;; Checks that interrupt handler code calls cld before calling an external
|
||
|
;; function.
|
||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
|
||
|
; CHECK: cld
|
||
|
; CHECK: call
|
||
|
|
||
|
define x86_intrcc void @foo(i8* %frame) {
|
||
|
call void @bar()
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare void @bar()
|
||
|
|