commit | b9e85a09b16f68c6d743711cf898a22366b95e28 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Wed Aug 23 05:46:07 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Wed Aug 23 05:46:07 2017 +0000 |
tree | c68b58a65b1c6ed80de1ab760ebcd9353bed5b21 | |
parent | 65bc8755b1893f502fb430ce5449a8f969585119 [diff] |
[InstCombine] Remove an unnecessary dyn_cast to Instruction and a switch over two opcodes. Just dyn_cast to the specific instruction classes individually. NFC Change the helper methods to take the more specific class as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311527 91177308-0d34-0410-b5e6-96231b3b80d8