HomePhabricator

Use llvm_unreachable for unsupported integer types.

Authored by RKSimon on Jun 8 2021, 9:33 AM.

Description

Use llvm_unreachable for unsupported integer types.

As suggested on rG937c4cffd024, use llvm_unreachable for unhandled integer types (which shouldn't be possible) instead of breaking and dropping down to the existing fatal error handler.

Helps silence static analyzer warnings.

Details

Committed
RKSimonJun 8 2021, 9:59 AM
Parents
rG01b77159e30b: PPCISelLowering.cpp - don't dereference a dyn_cast<>.
Branches
Unknown
Tags
Unknown