diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-10 11:24:51 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-10 11:24:51 +0000 |
| commit | 619c4e57ba8d8caac7a0ce41c403427f47ab50ee (patch) | |
| tree | 7e2e5cdff47178c8a291f148e1fe08dfe72a144c /llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | |
| parent | e9c336aeb53b4137c214aa119067803f6464fae8 (diff) | |
| download | bcm5719-llvm-619c4e57ba8d8caac7a0ce41c403427f47ab50ee.tar.gz bcm5719-llvm-619c4e57ba8d8caac7a0ce41c403427f47ab50ee.zip | |
Reduce dyn_cast<> to isa<> or cast<> where possible.
No functional change intended.
llvm-svn: 234586
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp index a2209ab187e..51b79cdef9b 100644 --- a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp +++ b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp @@ -2106,7 +2106,7 @@ HexagonTargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const { // is Big Endian. unsigned OpIdx = NElts - i - 1; SDValue Operand = BVN->getOperand(OpIdx); - if (dyn_cast<ConstantSDNode>(Operand)) + if (isa<ConstantSDNode>(Operand)) // This operand is already in ConstVal. continue; |

