CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / seh-exception-code.ll
index 28e93617bbad7e83cf18ca41811d50b3c90a5a35..e481a8e308c3c3284e71b003e321d0a474b5af5a 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llc < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -O0 < %s | FileCheck %s
 
 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc"
@@ -34,8 +35,7 @@ catchendblock:                                    ; preds = %catch.dispatch
 ; CHECK-LABEL: ehcode:
 ; CHECK: xorl %ecx, %ecx
 ; CHECK: callq f
-; CHECK: retq
 
-; CHECK: # %__except
-; CHECK-NEXT: movl %eax, %ecx
+; CHECK: # %catch.dispatch
+; CHECK: movl %eax, %ecx
 ; CHECK-NEXT: callq f