diff options
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r-- | include/llvm/Constants.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 5d85ee2..d91dfca 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -565,7 +565,7 @@ protected: static Constant *getTy(const Type *Ty, unsigned Opcode, Constant *C1, Constant *C2); static Constant *getCompareTy(unsigned short pred, Constant *C1, - Constant *C2); + Constant *C2, bool isVecCmp = false); static Constant *getSelectTy(const Type *Ty, Constant *C1, Constant *C2, Constant *C3); static Constant *getGetElementPtrTy(const Type *Ty, Constant *C, @@ -677,7 +677,8 @@ public: /// static Constant *get(unsigned Opcode, Constant *C1, Constant *C2); - /// @brief Return an ICmp or FCmp comparison operator constant expression. + /// @brief Return an ICmp, FCmp, VICmp, or VFCmp comparison operator constant + /// expression. static Constant *getCompare(unsigned short pred, Constant *C1, Constant *C2); /// ConstantExpr::get* - Return some common constants without having to |