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( 6define void @foo() { 7 ret void 8} 9