| ; RUN: llc -O0 -mtriple=x86_64-linux -asm-verbose=false < %s | FileCheck %s |
| ; RUN: llc -O0 -mtriple=x86_64-win32 -asm-verbose=false < %s | FileCheck %s |
| ; Fast-isel shouldn't try to look through the compare because it's in a |
| ; different basic block, so its operands aren't necessarily exported |
| ; CHECK: movb %al, [[OFS:[0-9]*]](%rsp) |
| ; CHECK: movb [[OFS]](%rsp), %al |
| define void @foo(i32 %a, i32 %b) nounwind { |
| invoke void @bar() to label %next unwind label %unw |
| br i1 %t, label %true, label %return |
| %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 |
| declare i32 @__gxx_personality_v0(...) |