[all-commits] [llvm/llvm-project] cea738: [SimplifyCFG] Replace unreachable switch lookup ta...
DaPorkchop_ via All-commits
all-commits at lists.llvm.org
Wed Dec 25 15:47:47 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cea738bc9a9e4835f9a076145953ed1369dcad7d
https://github.com/llvm/llvm-project/commit/cea738bc9a9e4835f9a076145953ed1369dcad7d
Author: DaPorkchop_ <daporkchop at daporkchop.net>
Date: 2024-12-26 (Thu, 26 Dec 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table_big.ll
Log Message:
-----------
[SimplifyCFG] Replace unreachable switch lookup table holes with poison (#94990)
As discussed in #94468, this causes switch lookup table entries which
are unreachable to be poison instead of filling them with a value from
one of the reachable cases.
---------
Co-authored-by: DianQK <dianqk at dianqk.net>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list