[all-commits] [llvm/llvm-project] 3c36de: GlobalISel: Try to fold G_SEXT_INREG to G_AND with...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Nov 18 16:51:47 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c36de55f5e60dee8f1bc04bd201f6dd762b3423
https://github.com/llvm/llvm-project/commit/3c36de55f5e60dee8f1bc04bd201f6dd762b3423
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
A llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-sext_inreg-to-and.mir
Log Message:
-----------
GlobalISel: Try to fold G_SEXT_INREG to G_AND with mask
Copies the same transform from the DAG. Helps eliminate some codegen
diffs to allowed shared checks in a future change.
Not sure if apply supports anything better than C++ fragments for
the result. It's also not really reasonable that every combine has
to set the default insertion point.
More information about the All-commits
mailing list