Move the remaining simplify-libcalls tests to instcombine, merging most of them into...
[oota-llvm.git] / test / TableGen / eqbit.td
1 // RUN: llvm-tblgen %s | FileCheck %s
2 // CHECK: a = 6
3 // CHECK: a = 5
4
5 class A<bit b = 1> {
6   int a = !if(!eq(b, 1), 5, 6);
7 }
8
9 def X : A<0>;
10 def Y : A;