[LoongArch] Fix the assertion for atomic store with 'ptr' type
[llvm-project.git] / llvm / test / Transforms / PGOProfile / ctx-instrumentation-invalid-roots.ll
blob99c7762a67dfbd60a4ef43fb3a4e8412a688cb85
1 ; RUN: not opt -passes=pgo-instr-gen,ctx-instr-lower -profile-context-root=good \
2 ; RUN:   -profile-context-root=bad \
3 ; RUN:   -S < %s 2>&1 | FileCheck %s
5 declare void @foo()
7 define void @good() {
8   call void @foo()
9   ret void
12 define void @bad() {
13   musttail call void @foo()
14   ret void
17 ; CHECK: error: The function bad was indicated as a context root, but it features musttail calls, which is not supported.