mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Just adding a getHalfTy method to IRBuilder for completeness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8ec4365621
commit
411b036f8b
@ -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…
x
Reference in New Issue
Block a user