diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-06-24 07:07:55 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-06-24 07:07:55 +0000 |
| commit | 86de486d3129f8d3bc05e3241c06f374252ac776 (patch) | |
| tree | d0c078cbffa4f19a3eaeaaa5c0f7a342e097cba1 /llvm/test | |
| parent | 2efbb3f394bd95d7c07fdcdbc2ffd2647778d9b7 (diff) | |
| download | bcm5719-llvm-86de486d3129f8d3bc05e3241c06f374252ac776.tar.gz bcm5719-llvm-86de486d3129f8d3bc05e3241c06f374252ac776.zip | |
AMDGPU: Add stub custom CodeGenPrepare pass
This will do various things including ones
CodeGenPrepare does, but with knowledge of uniform
values.
llvm-svn: 273657
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll b/llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll new file mode 100644 index 00000000000..a12132f425d --- /dev/null +++ b/llvm/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 +} |

