]> granicus.if.org Git - llvm/commit
[X86] Mark the default case of the X86InstrInfo::convertToThreeAddress switch as...
authorCraig Topper <craig.topper@intel.com>
Tue, 2 Apr 2019 20:52:16 +0000 (20:52 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 2 Apr 2019 20:52:16 +0000 (20:52 +0000)
commit4babc48b059062f4ae8082f2d7a5f58d66505551
tree18d3fcd3e801a7f35a567bbe18871f61b927d5ca
parentddaa6290bad22a4072d1f5126c7294d0ac247927
[X86] Mark the default case of the X86InstrInfo::convertToThreeAddress switch as unreachable.

This function should only be called with instructions that are really convertible. And all
convertible instructions need to be handled by the switch. So nothing should use the default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357529 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp