This reverts commit adaff46d08.
Drop the -O3 checks from default-attributes.hip. I don't know why they
are different on some bots but reverting this is far too disruptive.
10 lines
323 B
LLVM
10 lines
323 B
LLVM
; REQUIRES: asserts
|
|
; RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=null %s 2>&1 | FileCheck %s
|
|
; RUN: not --crash llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=null %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: function must have been generated already
|
|
|
|
define internal i32 @func() {
|
|
ret i32 0
|
|
}
|