Don't allow compiling with stock LLVM versions, only the Mono LLVM repo at https...
[mono-project/dkf.git] / mono / benchmark / cmov5.cs
blobc3c6f088923e2941f87a0909d32c3070fcf96f8c
1 using System;
2 class T {
3 static void Main () {
4 int a = 1, b = 2, c = 3, d = 4, e = 5;
5 for (int i = 0; i < 500000000; i ++) {
6 // on the stack
7 a = e == 1 ? b : c;
8 b = a == 1 ? c : d;
9 c = b == 1 ? d : e;
10 d = c == 1 ? e : a;
11 e = d == 1 ? a : b;