[all-commits] [llvm/llvm-project] 3bbd38: [Reassociate][NFC] Use an appropriate dyn_cast for...
wjristow via All-commits
all-commits at lists.llvm.org
Mon Jul 25 10:26:03 PDT 2022
Author: Warren Ristow <warren.ristow at sony.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
[Reassociate][NFC] Use an appropriate dyn_cast for BinaryOperator
In D129523, it was noted that there is are some questionable naked casts
from Instruction to BinaryOperator, which could be addressed by doing a
dyn_cast directly to BinaryOperator, avoiding the need for the later cast.
This cleans up that casting.
Reviewed By: nikic, spatel, RKSimon
Differential Revision: https://reviews.llvm.org/D130448
More information about the All-commits