[all-commits] [llvm/llvm-project] 892c10: Compiler: Remove empty fallback definition for LLV...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Mon Mar 21 11:52:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 892c104fb71b86dc6399e36a82ae920e00ccae17
https://github.com/llvm/llvm-project/commit/892c104fb71b86dc6399e36a82ae920e00ccae17
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M llvm/include/llvm/Support/Compiler.h
Log Message:
-----------
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
More information about the All-commits
mailing list