summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instructions.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-06 00:11:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-06 00:11:24 +0000
commit10ea8bb8e0934be27ea8894967bf48a8c90cc2bb (patch)
tree845f3759203a7d799922e202b019f5973025fe92 /llvm/lib/VMCore/Instructions.cpp
parentdb5d4521f56d453d3b91d2446ddac58f8d6f5031 (diff)
downloadbcm5719-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.cpp15
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
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud