brintos

brintos / llvm-project-archived public Read only

0
0
Text · 900 B · 891eae0 Raw
22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 52; RUN: opt -S -passes=normalize < %s | FileCheck %s3 4define fastcc void @foo.resume_musttail(ptr %FramePtr) {5; CHECK-LABEL: define fastcc void @foo.resume_musttail(6; CHECK-SAME: ptr [[A0:%.*]]) {7; CHECK-NEXT:  [[BB15160:.*:]]8; CHECK-NEXT:    [[TMP0:%.*]] = tail call token @llvm.coro.id(i32 0, ptr null, ptr null, ptr null)9; CHECK-NEXT:    musttail call fastcc void undef(ptr null)10; CHECK-NEXT:    ret void11;12entry:13  %0 = tail call token @llvm.coro.id(i32 0, ptr null, ptr null, ptr null)14  musttail call fastcc void undef(ptr null)15  ret void16}17 18; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)19declare token @llvm.coro.id(i32, ptr readnone, ptr nocapture readonly, ptr) #020 21attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }22