[all-commits] [llvm/llvm-project] 0f4b9a: [DAGCombiner] Fold `sub nuw C, x` -> `xor x, C` wh...
Madhur Kumar via All-commits
all-commits at lists.llvm.org
Fri Apr 17 14:05:55 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f4b9a7f2efaadd617994741bd2e61642ef2f96b
https://github.com/llvm/llvm-project/commit/0f4b9a7f2efaadd617994741bd2e61642ef2f96b
Author: Madhur Kumar <152476790+MadhurKumar004 at users.noreply.github.com>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/pr86717.ll
M llvm/test/CodeGen/RISCV/pr84200.ll
A llvm/test/CodeGen/X86/sub-to-xor-masked.ll
Log Message:
-----------
[DAGCombiner] Fold `sub nuw C, x` -> `xor x, C` when C is a mask (#192692)
fixes : https://github.com/llvm/llvm-project/issues/86874
Alive proof: https://alive2.llvm.org/ce/z/YKCPCA
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