================ @@ -140,6 +140,17 @@ define void @test_exit() { ret void } +; CHECK-LABEL: test_globaltimer +define i64 @test_globaltimer() { +; CHECK: mov.u64 %r{{.*}}, %globaltimer; + %a = tail call i64 @llvm.nvvm.read.ptx.sreg.globaltimer() ---------------- jhuber6 wrote:
Done in https://github.com/llvm/llvm-project/commit/bb180856ec28efe305dc77ca4bb3db12d8932edf. https://github.com/llvm/llvm-project/pull/79765 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits