OSDN Git Service

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)
commit3fc1e4aa159ec15058bb26acbec39f6e09990207
tree0a9badf848c7aef7a39decc39acad890ee58b891
parentda20ea696d8b24d89ae157106ddad2337296ed50
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174857 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/BBVectorize.cpp