diff options
author | Rui Ueyama <ruiu@google.com> | 2014-04-01 18:04:56 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-04-01 18:04:56 +0000 |
commit | 46fd56d0df4b37eab4477db8685238cf37e66264 (patch) | |
tree | 16b7f55781129938e224a3be49ebf1ac3003554b /llvm/lib/CodeGen | |
parent | efb8805161eb3c8c18171e449925e4e60778a1b5 (diff) | |
download | bcm5719-llvm-46fd56d0df4b37eab4477db8685238cf37e66264.tar.gz bcm5719-llvm-46fd56d0df4b37eab4477db8685238cf37e66264.zip |
s/dyn_cast/cast/ where return value should never be null.
cast<X> asserts the type is correct and does not return null on failure.
So we should use cast<X> rather than dyn_cast<X> at such places where we
don't expect type conversion could fail.
llvm-svn: 205332
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions