]> granicus.if.org Git - llvm/commit
[X86] Explicitly list all the always trivially rematerializable instructions.
authorCraig Topper <craig.topper@intel.com>
Fri, 30 Aug 2019 00:54:36 +0000 (00:54 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 30 Aug 2019 00:54:36 +0000 (00:54 +0000)
commitc6b7d5dbf0576d6d4052ccd38dfbb32432942667
tree5d35c77156e9f3a977fc239e217880ff5e162e07
parent530182475c56bfe4ba948efe557c234aee4eb29c
[X86] Explicitly list all the always trivially rematerializable instructions.

Add a default with an llvm_unreachable for anything we don't expect.

This seems safer that just blindly returning true for anything
missing from the switch.

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