xref: /llvm-project/llvm/test/CodeGen/MLRegAlloc/rel-codepath.ll (revision 65b40f273f09a53f61a13ac6f4bb65ec4ac63d6e)
1; REQUIRES: have_tf_aot
2; REQUIRES: x86_64-linux
3; REQUIRES: llvm_raevict_model_autogenerated
4;
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.
9;
10; RUN: llc -mtriple=x86_64-linux-unknown -regalloc=greedy -regalloc-enable-advisor=default \
11; RUN:   %S/Inputs/input.ll -o %t.default
12
13; RUN: llc -mtriple=x86_64-linux-unknown -regalloc=greedy -regalloc-enable-advisor=release \
14; RUN:   %S/Inputs/input.ll -o %t.release
15
16; RUN: not diff %t.release %t.default
17