Files
clang-p2996/llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
Igor Chebykin 84cf290c84 [NVPTX][tests] Do not run the tests which are not supported by nvptx
Some generic tests are not supported by the nvptx now.  Moreover, they
are no plans to fix the tested features in nvptx. So, suggest to mark
them as UNSUPPORTED

Differential Revision: https://reviews.llvm.org/D123928
2022-04-26 17:26:56 +03:00

21 lines
815 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
; regalloc-enable-advisor is not enabled for NVPTX
; UNSUPPORTED: nvptx
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