Reland #154439. Reverted with #155914. Account for: - Windows `ptxas` outputting error messages to `stdout` instead of `stderr` - Tests in `llvm/test/DebugInfo/NVPTX`
18 lines
614 B
LLVM
18 lines
614 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
|
|
; RUN: llc < %s -mcpu=sm_90 -march=nvptx64 | FileCheck %s
|
|
; RUN: %if ptxas-sm_90 %{ llc < %s -mcpu=sm_90 -march=nvptx64 | %ptxas-verify -arch=sm_90 %}
|
|
|
|
define void @griddepcontrol() {
|
|
; CHECK-LABEL: griddepcontrol(
|
|
; CHECK: {
|
|
; CHECK-EMPTY:
|
|
; CHECK-EMPTY:
|
|
; CHECK-NEXT: // %bb.0:
|
|
; CHECK-NEXT: griddepcontrol.launch_dependents;
|
|
; CHECK-NEXT: griddepcontrol.wait;
|
|
; CHECK-NEXT: ret;
|
|
call void @llvm.nvvm.griddepcontrol.launch.dependents()
|
|
call void @llvm.nvvm.griddepcontrol.wait()
|
|
ret void
|
|
}
|