diff options
Diffstat (limited to 'llvm/test/Feature/OperandBundles/adce.ll')
-rw-r--r-- | llvm/test/Feature/OperandBundles/adce.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Feature/OperandBundles/adce.ll b/llvm/test/Feature/OperandBundles/adce.ll index 33bb87e5fc1..a729ba71068 100644 --- a/llvm/test/Feature/OperandBundles/adce.ll +++ b/llvm/test/Feature/OperandBundles/adce.ll @@ -39,3 +39,11 @@ define void @test3() { call void @readnone_function() readnone [ "tag"() ] ret void } + +define void @test4() { +; CHECK-LABEL: @test4( + entry: +; CHECK-NOT: @readonly_function() + call void @readonly_function() [ "deopt"() ] + ret void +} |