This is not a common case, in fact it never happens!
[oota-llvm.git] / lib / Transforms / Scalar / GVN.cpp
index bc32b7f44181d68a1a1635272d0e35616562991c..fe05e3546a62893ec549f52c8db332d5b2208db6 100644 (file)
@@ -87,10 +87,6 @@ namespace {
     }
 
     friend hash_code hash_value(const Expression &Value) {
-      // Optimize for the common case.
-      if (Value.varargs.empty())
-        return hash_combine(Value.opcode, Value.type);
-
       return hash_combine(Value.opcode, Value.type,
                           hash_combine_range(Value.varargs.begin(),
                                              Value.varargs.end()));