1 ; RUN: llc -O0 -mtriple=x86_64-linux -asm-verbose=false -verify-machineinstrs < %s | FileCheck %s
2 ; RUN: llc -O0 -mtriple=x86_64-windows-itanium -asm-verbose=false -verify-machineinstrs < %s | FileCheck %s
4 ; Fast-isel mustn't add a block to the MBB successor/predecessor list twice.
5 ; The machine verifier will catch and complain about this case.
10 br i1 undef, label %exit, label %exit
18 ; Fast-isel shouldn't try to look through the compare because it's in a
19 ; different basic block, so its operands aren't necessarily exported
20 ; for cross-block usage.
22 ; CHECK: movb %al, [[OFS:[0-9]*]](%rsp)
23 ; CHECK: callq {{_?}}bar
24 ; CHECK: movb [[OFS]](%rsp), %al
28 define void @foo(i32 %a, i32 %b) nounwind personality ptr @__gxx_personality_v0 {
32 %t = icmp ult i32 %q, %r
33 invoke void @bar() to label %next unwind label %unw
35 br i1 %t, label %true, label %return
42 %exn = landingpad {ptr, i32}
47 declare i32 @__gxx_personality_v0(...)