This is a trivial fix (I hope), but I'm sending this patch for review to draw the attention of people more familiar with TailRecursionElimination.
I suspect there are other similar dyn_cast bugs lurking in this pass.
Paths
| Differential D7944
fix crash in tail call elimination (PR22704) AbandonedPublic Authored by spatel on Feb 27 2015, 10:34 AM.
Details
Diff Detail Event Timelinespatel updated this object. Comment Actions Fixed better by Benjamin Kramer:
Revision Contents
Diff 20864 lib/Transforms/Scalar/TailRecursionElimination.cpp
test/Transforms/TailCallElim/inf-recursion.ll
|