Merging r258273:
[oota-llvm.git] / test / Feature / OperandBundles / adce.ll
index 33bb87e5fc1425ffa77e701f6e114119ff174130..a729ba7106891a6ed86fa72e9edae2f53dbf6cf2 100644 (file)
@@ -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
+}