mirror of
https://github.com/intel/llvm.git
synced 2026-01-28 00:15:21 +08:00
ODS: Round out the definitions of the common integer attributes sizes, adding
1/8/16 bit attrs. NFC PiperOrigin-RevId: 262843016
This commit is contained in:
committed by
A. Unique TensorFlower
parent
300a2bda34
commit
40fc948e55
@@ -604,6 +604,9 @@ def APIntAttr : Attr<CPred<"$_self.isa<IntegerAttr>()">,
|
||||
let returnType = [{ APInt }];
|
||||
}
|
||||
|
||||
def I1Attr : IntegerAttrBase<I1, "1-bit integer attribute">;
|
||||
def I8Attr : IntegerAttrBase<I8, "8-bit integer attribute">;
|
||||
def I16Attr : IntegerAttrBase<I16, "16-bit integer attribute">;
|
||||
def I32Attr : IntegerAttrBase<I32, "32-bit integer attribute">;
|
||||
def I64Attr : IntegerAttrBase<I64, "64-bit integer attribute">;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user