[TRITON][LANG] Added support for bitcast
This commit is contained in:
committed by
Philippe Tillet
parent
7a40077bfd
commit
d22cf4f717
@@ -431,6 +431,7 @@ public:
|
||||
void DerefOpTypeChecking();
|
||||
void ReduceOpTypeChecking();
|
||||
void UnaryArithmOpTypeChecking();
|
||||
void BitcastOpTypeChecking();
|
||||
void CastOpTypeChecking();
|
||||
|
||||
protected:
|
||||
|
@@ -91,7 +91,8 @@ protected:
|
||||
ir::value* GenAssignOp(Expr* lvalue, ir::value* rhs);
|
||||
ir::value* GenBroadcastOp(ir::value* src, ir::type* dst_ty);
|
||||
ir::value* GenNumcastOp(ir::value*src, ir::type* dst_ty);
|
||||
ir::value* GenCastOp(ir::value* op, ir::type* type);
|
||||
ir::value* GenSemCastOp(ir::value* op, ir::type* type);
|
||||
ir::value* GenBitCastOp(ir::value* src, ir::type* dst_ty);
|
||||
|
||||
// Triton-IR types
|
||||
static ir::type* GenIRType(::Type* type, ir::context &ctx);
|
||||
|
@@ -164,6 +164,7 @@ public:
|
||||
ALIGNOF, // _Alignof
|
||||
GENERIC, // _Generic
|
||||
IMAGINARY, // _Imaginary
|
||||
BITCAST,
|
||||
// KEYWORD END
|
||||
|
||||
IDENTIFIER,
|
||||
|
Reference in New Issue
Block a user