1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll
Matt Arsenault c4e8acd575 AMDGPU: Add stub custom CodeGenPrepare pass
This will do various things including ones
CodeGenPrepare does, but with knowledge of uniform
values.

llvm-svn: 273657
2016-06-24 07:07:55 +00:00

9 lines
219 B
LLVM

; 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
}