================
@@ -0,0 +1,9 @@
+; RUN: not llc < %s -mtriple nvptx 2>&1 | FileCheck %s
+
+declare ptr @llvm.stackaddress.p0()
+
+define ptr @test() {
+; CHECK: STACKADDRESS is not supported on this target.
----------------
moorabbit wrote:

> check the error: prefix with location

Fixed. Thx. 
Let me know if you want me to update the test case with a valid debug location 
instead of `<unknown>:0:0`.
 
> Probably should also refer to the intrinsic by name, not the DAG operation.

Fixed. We report the name of the intrinsic now in the error message.


https://github.com/llvm/llvm-project/pull/148281
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to