1 ; REQUIRES: have_tf_aot
2 ; REQUIRES: x86_64-linux
3 ; REQUIRES: llvm_raevict_model_autogenerated
5 ; Check the code path for release mode is correctly taken. It is shared with
6 ; development mode, and we separately test the internals of that (logged
7 ; features, etc), so all we care about here is that the output is produced and
8 ; is different from default policy.
10 ; RUN: llc -mtriple=x86_64-linux-unknown -regalloc=greedy -regalloc-enable-advisor=default \
11 ; RUN: %S/Inputs/input.ll -o %t.default
13 ; RUN: llc -mtriple=x86_64-linux-unknown -regalloc=greedy -regalloc-enable-advisor=release \
14 ; RUN: %S/Inputs/input.ll -o %t.release
16 ; RUN: not diff %t.release %t.default