================
@@ -38,7 +38,7 @@ def int_dx_resource_handlefromimplicitbinding
 
 def int_dx_resource_getpointer
     : DefaultAttrsIntrinsic<[llvm_anyptr_ty], [llvm_any_ty, llvm_any_ty],
-                            [IntrReadMem, IntrInaccessibleMemOnly]>;
+                            [IntrConvergent, IntrNoMem]>;
----------------
inbelic wrote:

https://github.com/llvm/llvm-project/pull/193593 attempted to remove some of 
the restrictions of convergent but failed to account for the case when the 
resource is written to instead of read from and introduced a regression, as 
reported by https://github.com/llvm/llvm-project/issues/201901.

As such, we revert the previous commit and mark each of these intrinsics as 
convergent.

https://github.com/llvm/llvm-project/pull/205433
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to