BitcodeWriter dyn_cast cleanup for r263275 (NFC)
authorTeresa Johnson <tejohnson@google.com>
Tue, 15 Mar 2016 02:41:29 +0000 (02:41 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 15 Mar 2016 02:41:29 +0000 (02:41 +0000)
commit2794f715751bbda2ca00c146a4867a8a1d7c0f0e
treeebd2e8a550268c9bb39cd25cb060e442b2cb785a
parentee00abe5e66be17f601475e4397447f347287f6a
BitcodeWriter dyn_cast cleanup for r263275 (NFC)

Address review suggestions from dblaikie: change a few dyn_cast to cast
and fold a cast into if condition.

llvm-svn: 263526
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp