It was removed back in 2013 (f63dfbb) by Matt Arsenault but then
reverted since DragonEgg used it, but that project is no longer
maintained.
Can this be removed now?
Differential D92571
[IR] Remove CastInst::isCastable since it is not used c-rhodes on Dec 3 2020, 4:37 AM. Authored by
Details
It was removed back in 2013 (f63dfbb) by Matt Arsenault but then Can this be removed now?
Diff Detail
Event Timeline
Comment Actions LGTM too if you drop the libcxxabi change. If there's an out-of-tree user that needs this we can revert again if it makes sense to (in which case, it'd be better to change getCastOpcode to return an Optional<Instruction::CastOps>, so we're not having to keep two functions in sync like this...). Comment Actions SGTM, I'll land it early next week in-case of any fallout, thanks for reviewing.
|