forked from OSchip/llvm-project
Just adding a getHalfTy method to IRBuilder for completeness.
llvm-svn: 212195
This commit is contained in:
parent
c4db656221
commit
c7e4457a31
|
@ -327,6 +327,11 @@ public:
|
|||
return Type::getIntNTy(Context, N);
|
||||
}
|
||||
|
||||
/// \brief Fetch the type representing a 16-bit floating point value.
|
||||
Type *getHalfTy() {
|
||||
return Type::getHalfTy(Context);
|
||||
}
|
||||
|
||||
/// \brief Fetch the type representing a 32-bit floating point value.
|
||||
Type *getFloatTy() {
|
||||
return Type::getFloatTy(Context);
|
||||
|
|
Loading…
Reference in New Issue