mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Add MVT::fAny for overloading intrinsics on floating-point types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -67,6 +67,11 @@ namespace MVT { // MVT = Machine Value Types
|
||||
|
||||
LAST_VALUETYPE = 27, // This always remains at the end of the list.
|
||||
|
||||
// fAny - Any floating-point or vector floating-point value. This is used
|
||||
// for intrinsics that have overloadings based on floating-point types.
|
||||
// This is only for tblgen's consumption!
|
||||
fAny = 253,
|
||||
|
||||
// iAny - An integer or vector integer value of any bit width. This is
|
||||
// used for intrinsics that have overloadings based on integer bit widths.
|
||||
// This is only for tblgen's consumption!
|
||||
|
||||
@@ -49,6 +49,9 @@ def v3f32 : ValueType<96 , 24>; // 3 x f32 vector value
|
||||
def v4f32 : ValueType<128, 25>; // 4 x f32 vector value
|
||||
def v2f64 : ValueType<128, 26>; // 2 x f64 vector value
|
||||
|
||||
// Pseudo valuetype to represent "float of any format"
|
||||
def fAny : ValueType<0 , 253>;
|
||||
|
||||
// Pseudo valuetype to represent "integer of any bit width"
|
||||
def iAny : ValueType<0 , 254>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user