Add new SetCondInst::isRelational/isEquality methods. Rename
Instruction::isRelational to Instruction::isComparison.
llvm-svn: 30444
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp
index ab4aaac..b295146 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/lib/VMCore/Instruction.cpp
@@ -200,9 +200,9 @@
}
}
-/// isRelational - Return true if the instruction is a Set* instruction:
+/// isComparison - Return true if the instruction is a Set* instruction:
///
-bool Instruction::isRelational(unsigned op) {
+bool Instruction::isComparison(unsigned op) {
switch (op) {
case SetEQ:
case SetNE: