OSDN Git Service

[X86] Change an llvm_unreachable to a report_fatal_error so the optimizer will stop...
authorCraig Topper <craig.topper@intel.com>
Sun, 30 Sep 2018 23:43:30 +0000 (23:43 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 30 Sep 2018 23:43:30 +0000 (23:43 +0000)
commit6b41faf1c9ec4ab8b8a2c7ddd356aa207371e965
tree7e69ea85c1cdc260b3e03800fc864b2b4058cbd4
parent0e735f0b53fb5b43524a8e53833192e7d4c283a1
[X86] Change an llvm_unreachable to a report_fatal_error so the optimizer will stop making us reach the other report_fatal_error in this function.

There's a conditional report_fatal_error just above this llvm_unreachable. The optimizer when seeing the unreachable removes the conditional and just makes any other error trigger the existing report_fatal_error.

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