BBVectorize: isa/cast cleanup in getInstructionTypes
authorHal Finkel <hfinkel@anl.gov>
Mon, 11 Feb 2013 05:29:48 +0000 (05:29 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 11 Feb 2013 05:29:48 +0000 (05:29 +0000)
commitdd4bc6659349b274371f03b90a81f0a88c0d11a6
treead2c6e2f96f83cd1cb12bb404bc3a0fbeb7b5635
parentc1cc166948e3a11b0ee2e8f3090ad7abb1430285
BBVectorize: isa/cast cleanup in getInstructionTypes

Profiling suggests that getInstructionTypes is performance-sensitive,
this cleans up some double-casting in that function in favor of
using dyn_cast.

No functionality change intended.

llvm-svn: 174857
llvm/lib/Transforms/Vectorize/BBVectorize.cpp