[BUILD] Remove compilation warnings

This commit is contained in:
Philippe Tillet
2021-03-24 01:24:50 -04:00
committed by Philippe Tillet
parent b352bc79e3
commit 5ba5a77561
6 changed files with 26 additions and 59 deletions

View File

@@ -28,7 +28,7 @@ using namespace llvm;
#define f16_ty builder_->getHalfTy()
#define f32_ty builder_->getFloatTy()
#define i32_ty builder_->getInt32Ty()
#define vec_ty(...) VectorType::get(__VA_ARGS__)
#define vec_ty(type, num_el) VectorType::get(type, num_el, false)
#define ptr_ty(...) PointerType::get(__VA_ARGS__)
// constants
#define i32(...) builder_->getInt32(__VA_ARGS__)