Provide a getOpcode() method on CmpInst to ensure the opcode is returned
authorReid Spencer <rspencer@reidspencer.com>
Thu, 7 Dec 2006 04:18:31 +0000 (04:18 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 7 Dec 2006 04:18:31 +0000 (04:18 +0000)
commit6b538cfc5c758edc8e05070ab8794bd6c3e8ffb9
tree73cc069842d000f0bbfefa116154100f20a7f3ab
parent7d3223eef2982d7acdfb24facde6605fd9a8b5e8
Provide a getOpcode() method on CmpInst to ensure the opcode is returned
as the right type. Use this to shorten some code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32300 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InstrTypes.h
lib/VMCore/Constants.cpp
lib/VMCore/Instructions.cpp