[all-commits] [llvm/llvm-project] 245186: [GlobalISel] Add `or_and_xor_to_or` pattern from S...
Osman Yasar via All-commits
all-commits at lists.llvm.org
Wed Jun 10 15:27:20 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 245186ef957cb1d98ad1444a49e3bd307cbaa2a4
https://github.com/llvm/llvm-project/commit/245186ef957cb1d98ad1444a49e3bd307cbaa2a4
Author: Osman Yasar <osmanyas05 at gmail.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M llvm/include/llvm/Target/GlobalISel/Combine.td
A llvm/test/CodeGen/AArch64/GlobalISel/combine-or-and-xor.ll
A llvm/test/CodeGen/AArch64/GlobalISel/combine-or-and-xor.mir
Log Message:
-----------
[GlobalISel] Add `or_and_xor_to_or` pattern from SelectionDAG (#201108)
This PR adds the `fold (or (and X, (xor Y, -1)), Y) -> (or X, Y)`
pattern from SelectionDAG to GlobalISel.
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
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