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/Mips/MipsFastISel.cpp | |
parent | e9c336aeb53b4137c214aa119067803f6464fae8 (diff) | |
download | llvm-619c4e57ba8d8caac7a0ce41c403427f47ab50ee.zip llvm-619c4e57ba8d8caac7a0ce41c403427f47ab50ee.tar.gz llvm-619c4e57ba8d8caac7a0ce41c403427f47ab50ee.tar.bz2 |
Reduce dyn_cast<> to isa<> or cast<> where possible.
No functional change intended.
llvm-svn: 234586
Diffstat (limited to 'llvm/lib/Target/Mips/MipsFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsFastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsFastISel.cpp b/llvm/lib/Target/Mips/MipsFastISel.cpp index 7de0081..e8e3d3d4 100644 --- a/llvm/lib/Target/Mips/MipsFastISel.cpp +++ b/llvm/lib/Target/Mips/MipsFastISel.cpp @@ -440,7 +440,7 @@ bool MipsFastISel::computeAddress(const Value *Obj, Address &Addr) { bool MipsFastISel::computeCallAddress(const Value *V, Address &Addr) { const GlobalValue *GV = dyn_cast<GlobalValue>(V); - if (GV && isa<Function>(GV) && dyn_cast<Function>(GV)->isIntrinsic()) + if (GV && isa<Function>(GV) && cast<Function>(GV)->isIntrinsic()) return false; if (!GV) return false; |