diff options
Diffstat (limited to 'test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll')
| -rw-r--r-- | test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll b/test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll new file mode 100644 index 0000000000000..a12132f425d93 --- /dev/null +++ b/test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll @@ -0,0 +1,8 @@ +; RUN: opt -S -mtriple=amdgcn-- -amdgpu-codegenprepare < %s | FileCheck %s +; RUN: opt -S -amdgpu-codegenprepare < %s +; Make sure this doesn't crash with no triple + +; CHECK-LABEL: @foo( +define void @foo() { + ret void +} |
