brintos

brintos / llvm-project-archived public Read only

0
0
Text · 686 B · 4e4d8f2 Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc -mtriple=x86_64-pc-windows-msvc < %s | FileCheck %s --check-prefixes=CHECK,X643; RUN: %if aarch64-registered-target %{ llc -mtriple=aarch64-pc-windows-msvc < %s | FileCheck %s --check-prefixes=CHECK,AARCH64 %}4 5define void @foo() personality ptr @__CxxFrameHandler3 {6; CHECK-LABEL: foo:7; CHECK:       %bb.0:8; X64-NEXT:    nop # avoids zero-length function9; AARCH64:     brk #0x110  call void @llvm.seh.scope.begin()11  unreachable12}13 14declare i32 @__CxxFrameHandler3(...)15 16declare void @llvm.seh.scope.begin()17 18!llvm.module.flags = !{!0}19 20!0 = !{i32 2, !"eh-asynch", i32 1}21