brintos

brintos / llvm-project-archived public Read only

0
0
Text · 478 B · 584ec19 Raw
23 lines · plain
1; RUN: llc < %s -O1 -mtriple=x86_64-pc-win32 | FileCheck %s2 3; Neither of these functions need .seh_ directives. We used to crash.4 5target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"6target triple = "x86_64-pc-windows-msvc"7 8declare i32 @__CxxFrameHandler3(...)9 10define void @f1() uwtable nounwind personality ptr @__CxxFrameHandler3 {11  ret void12}13 14; CHECK-LABEL: f1:15; CHECK-NOT: .seh_16 17define void @f2() uwtable {18  ret void19}20 21; CHECK-LABEL: f2:22; CHECK-NOT: .seh_23