]> granicus.if.org Git - llvm/commit
Merging r343428:
authorTom Stellard <tstellar@redhat.com>
Fri, 19 Oct 2018 19:14:17 +0000 (19:14 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 19 Oct 2018 19:14:17 +0000 (19:14 +0000)
commitb2504eaa1be0a2dea9c88da68f1cfe43c6853792
tree3336aa176484cd0025c9539021c484375d478b4b
parent9a0352f0c5ea78372340a101bb557aba3ecc3f7e
Merging r343428:

------------------------------------------------------------------------
r343428 | ctopper | 2018-09-30 16:43:30 -0700 (Sun, 30 Sep 2018) | 3 lines

[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/branches/release_70@344805 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp