Compiler: Remove empty fallback definition for LLVM_BUILTIN_UNREACHABLE
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 21 Mar 2022 18:43:00 +0000 (11:43 -0700)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 21 Mar 2022 18:52:24 +0000 (11:52 -0700)
commit892c104fb71b86dc6399e36a82ae920e00ccae17
tree10f2362ef1f6db2a9d1f3fff5efbd99e02514bd7
parent18440547d3520b78c9ab929685309419fc1fbe95
Compiler: Remove empty fallback definition for LLVM_BUILTIN_UNREACHABLE

`llvm_unreachable()` and `LLVM_ASSUME_ALIGNED` use
`defined(LLVM_BUILTIN_UNREACHABLE)` to check whether it has a
definition. Remove the fallback added in 26827337dff26ba3 (as a drive-by
when updating the GCC logic) and add a comment to prevent future
mistakes.

Differential Revision: https://reviews.llvm.org/D122167
llvm/include/llvm/Support/Compiler.h