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 | 10ea8bb8e0934be27ea8894967bf48a8c90cc2bb (patch) | |
tree | 845f3759203a7d799922e202b019f5973025fe92 /llvm/lib/VMCore/Instructions.cpp | |
parent | db5d4521f56d453d3b91d2446ddac58f8d6f5031 (diff) | |
download | bcm5719-llvm-10ea8bb8e0934be27ea8894967bf48a8c90cc2bb.tar.gz bcm5719-llvm-10ea8bb8e0934be27ea8894967bf48a8c90cc2bb.zip |
Revert "Include optional subclass flags, such as inbounds, nsw, etc., ...", this
breaks MiniSAT on x86_64.
llvm-svn: 81098
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 9d8e0477eed..2d4ab557217 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp @@ -1171,9 +1171,6 @@ bool GetElementPtrInst::hasAllConstantIndices() const { return true; } -void GetElementPtrInst::setIsInBounds(bool B) { - cast<GEPOperator>(this)->setIsInBounds(B); -} //===----------------------------------------------------------------------===// // ExtractElementInst Implementation @@ -1719,18 +1716,6 @@ bool BinaryOperator::swapOperands() { return false; } -void BinaryOperator::setHasNoUnsignedWrap(bool b) { - cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(b); -} - -void BinaryOperator::setHasNoSignedWrap(bool b) { - cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); -} - -void BinaryOperator::setIsExact(bool b) { - cast<SDivOperator>(this)->setIsExact(b); -} - //===----------------------------------------------------------------------===// // CastInst Class //===----------------------------------------------------------------------===// |