Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/lib/Transforms/Scalar/EarlyCSE.cpp | ||
---|---|---|
168–169 | I think this is the same thing you'd get by letting control fall down to the default case at the end of the function (once you relax the assertion there to mirror the change you've made to canHandle). I'd think that would be preferable as it would keep getHashValueImpl and isEqualImpl more directly/syntactically/obviously in sync. |
Comment Actions
LGTM. Probably good to have someone else weigh in before committing (I touched this code last, but only to fix a couple bugs).
I think this is the same thing you'd get by letting control fall down to the default case at the end of the function (once you relax the assertion there to mirror the change you've made to canHandle). I'd think that would be preferable as it would keep getHashValueImpl and isEqualImpl more directly/syntactically/obviously in sync.