Matt Arsenault | 86de486 | 2016-06-24 07:07:55 +0000 | [diff] [blame^] | 1 | ; RUN: opt -S -mtriple=amdgcn-- -amdgpu-codegenprepare < %s | FileCheck %s |
2 | ; RUN: opt -S -amdgpu-codegenprepare < %s | ||||
3 | ; Make sure this doesn't crash with no triple | ||||
4 | |||||
5 | ; CHECK-LABEL: @foo( | ||||
6 | define void @foo() { | ||||
7 | ret void | ||||
8 | } |