diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-06 00:11:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-06 00:11:24 +0000 |
commit | 92a97a9166e359e195d949e63d7e24a4a33284cf (patch) | |
tree | 47fc373baf592033d473b376cc7a246697d5279b /include/llvm/Constants.h | |
parent | 0985b3c81c4b56c4fb7104778df8e9ab21438d4b (diff) | |
download | llvm-92a97a9166e359e195d949e63d7e24a4a33284cf.tar.gz llvm-92a97a9166e359e195d949e63d7e24a4a33284cf.tar.bz2 llvm-92a97a9166e359e195d949e63d7e24a4a33284cf.tar.xz |
Revert "Include optional subclass flags, such as inbounds, nsw, etc., ...", this
breaks MiniSAT on x86_64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r-- | include/llvm/Constants.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index e79ca543ab..da6fe96a77 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -571,17 +571,13 @@ protected: // These private methods are used by the type resolution code to create // ConstantExprs in intermediate forms. static Constant *getTy(const Type *Ty, unsigned Opcode, - Constant *C1, Constant *C2, - unsigned Flags = 0); + Constant *C1, Constant *C2); static Constant *getCompareTy(unsigned short pred, Constant *C1, Constant *C2); static Constant *getSelectTy(const Type *Ty, Constant *C1, Constant *C2, Constant *C3); static Constant *getGetElementPtrTy(const Type *Ty, Constant *C, Value* const *Idxs, unsigned NumIdxs); - static Constant *getInBoundsGetElementPtrTy(const Type *Ty, Constant *C, - Value* const *Idxs, - unsigned NumIdxs); static Constant *getExtractElementTy(const Type *Ty, Constant *Val, Constant *Idx); static Constant *getInsertElementTy(const Type *Ty, Constant *Val, @@ -722,8 +718,7 @@ public: /// get - Return a binary or shift operator constant expression, /// folding if possible. /// - static Constant *get(unsigned Opcode, Constant *C1, Constant *C2, - unsigned Flags = 0); + static Constant *get(unsigned Opcode, Constant *C1, Constant *C2); /// @brief Return an ICmp or FCmp comparison operator constant expression. static Constant *getCompare(unsigned short pred, Constant *C1, Constant *C2); |