[PATCH] D137422: [DAGCombine] Generalize foldSelectCCToShiftAnd
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 21:36:55 PST 2022
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/select-to-shift-and.ll:1
+; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+
----------------
mgudim wrote:
> This is a target-independent optimization, so I am not sure how to properly test it. I included this file only to demonstrate how the optimization works.
>
> Please let me know what you think a proper place / form for this test should be.
Why did you stop on MIR instead of assembly?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137422/new/
https://reviews.llvm.org/D137422
More information about the llvm-commits
mailing list