[llvm] [X86] Use BMI2 shrx for range-known zero tests (PR #207904)

Jaeuk Lee via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 01:07:58 PDT 2026


skku970412 wrote:

Updated in 61cc7979d547:\n\n- rewrote the SETCC matcher to use SDPatternMatch ();\n- removed the x86-64-only guard. The transform still requires BMI2 and scalar i32/i64 types, and  is available for the 32-bit scalar case too.\n\nLocal validation after the update:\n\n\n\nAll passed locally.

https://github.com/llvm/llvm-project/pull/207904


More information about the llvm-commits mailing list