[all-commits] [llvm/llvm-project] 88373b: [SimplifyCFG] Restrict initializer checks to looku...
Alex MacLean via All-commits
all-commits at lists.llvm.org
Wed Sep 23 13:20:18 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 88373ba98f5050debb65d5f4b3c631e05a224e60
https://github.com/llvm/llvm-project/commit/88373ba98f5050debb65d5f4b3c631e05a224e60
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
A llvm/test/Transforms/SimplifyCFG/ARM/switch-ssa-lookup-restrictions.ll
A llvm/test/Transforms/SimplifyCFG/X86/switch-result-constants.ll
Log Message:
-----------
[SimplifyCFG] Restrict initializer checks to lookup tables (#224235)
SimplifyCFG currently applies lookup table constant restrictions even
when a switch can be replaced with selects or other SSA values. Move
these checks to lookup table construction so they only apply when a
global initializer is needed.
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