llvm-project/llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
Chris Bieneman 1652c4f2fe [NFC] Fixing test requirements I broke
I broke these in 7a0cbe11fb26, thanks @ikudrin for catching it!
2022-02-09 09:11:34 -06:00

18 lines
742 B
LLVM

; Check that, in the absence of dependencies, we emit an error message when
; trying to use ML-driven advisor.
; REQUIRES: !have_tf_aot
; REQUIRES: !have_tf_api
; REQUIRES: default_triple
; RUN: not llc -O2 -regalloc-enable-advisor=development < %s 2>&1 | FileCheck %s
; RUN: not llc -O2 -regalloc-enable-advisor=release < %s 2>&1 | FileCheck %s
; RUN: llc -O2 -regalloc-enable-advisor=default < %s 2>&1 | FileCheck %s --check-prefix=DEFAULT
define void @f2(i64 %lhs, i64 %rhs, i64* %addr) {
%sum = add i64 %lhs, %rhs
store i64 %sum, i64* %addr
ret void
}
; CHECK: Requested regalloc eviction advisor analysis could be created. Using default
; DEFAULT-NOT: Requested regalloc eviction advisor analysis could be created. Using default