From: Vikram S. Adve Date: Thu, 15 Nov 2001 15:00:48 +0000 (+0000) Subject: Bug fix for Chris. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dcf162089603b4fc385569b3621f2d9a90f3bdb2;p=oota-llvm.git Bug fix for Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1316 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/iMemory.h b/include/llvm/iMemory.h index 1dbc1dbea34..8c5344fed1f 100644 --- a/include/llvm/iMemory.h +++ b/include/llvm/iMemory.h @@ -193,7 +193,7 @@ public: const vector &getIndices() const { return indexVec; } inline bool hasIndices() const { - return getNumOperands() <= getFirstIndexOperandNumber(); + return getNumOperands() > getFirstIndexOperandNumber(); } };