1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

llvmc: Make 'true' and 'false' instances of a 'Bool' class.

llvm-svn: 130915
This commit is contained in:
Mikhail Glushenkov 2011-05-05 04:25:03 +00:00
parent 14e7792820
commit 6a346f7333

View File

@ -56,8 +56,11 @@ def forward_not_split;
def case;
// Boolean constants.
def true;
def false;
class Bool<bit val> {
bit Value = val;
}
def true : Bool<1>;
def false : Bool<0>;
// Boolean operators.
def and;