[AArch64][NFC] NFC for const vector as Instruction operand (#116790)
[llvm-project.git] / llvm / test / Transforms / IRNormalizer / regression-coro-elide-musttail.ll
blob891eae0954a7c17bf535729a45ee61f88bed1e51
1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2 ; RUN: opt -S -passes=normalize < %s | FileCheck %s
4 define 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 void
12 entry:
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 void
18 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
19 declare token @llvm.coro.id(i32, ptr readnone, ptr nocapture readonly, ptr) #0
21 attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }