[llvm-commits] [llvm] r122720 - in /llvm/trunk/lib/Transforms/Scalar: EarlyCSE.cpp LoopIdiomRecognize.cpp
Chris Lattner
clattner at apple.com
Sun Jan 2 17:46:46 PST 2011
On Jan 2, 2011, at 5:21 PM, Nick Lewycky wrote:
>> + "Invalid/unknown instruction");
>> }
>> -
>> +
>> + // Mix in the opcode.
>> return (Res<< 1) ^ Inst->getOpcode();
>
> Chris, did you consider using a FoldingSetNodeID to calculate your hash?
> I think it would end up cleaner.
How would it help?
-Chris
More information about the llvm-commits
mailing list