summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ModuleMaker/ModuleMaker.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-01-31 00:04:48 +0000
committerCraig Topper <craig.topper@intel.com>2019-01-31 00:04:48 +0000
commit49c4c68919ae1be62665e6f0a58d97ae6aad1125 (patch)
tree4f3810097470821f3b6de2a95809d1f32b750fde /llvm/examples/ModuleMaker/ModuleMaker.cpp
parent8bdc203d4b2ddab14d8b2a60156aba326ad59d94 (diff)
downloadbcm5719-llvm-49c4c68919ae1be62665e6f0a58d97ae6aad1125.tar.gz
bcm5719-llvm-49c4c68919ae1be62665e6f0a58d97ae6aad1125.zip
[LegalizeTypes] Use report_fatal_error instead of llvm_unreachable in the default case of some type legalization handlers that can be reached with intrinsics with result or operands that aren't legal types.
These can be triggered by mistakenly using a 64-bit mode only intrinsics with a -mtriple=i686. Using report_fatal_error gives a better experience for this mistake in release builds instead of probably crashing. We already do this for some of the vector type legalization handles. llvm-svn: 352699
Diffstat (limited to 'llvm/examples/ModuleMaker/ModuleMaker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud