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