[PATCH] D120216: [DAG] try to convert multiply to shift via demanded bits
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 20 12:32:08 PST 2022
RKSimon added inline comments.
================
Comment at: llvm/test/CodeGen/Mips/urem-seteq-illegal-types.ll:215
; MIPS64EL-NEXT: dsll $4, $4, 1
-; MIPS64EL-NEXT: daddu $3, $3, $4
+; MIPS64EL-NEXT: dsubu $3, $3, $4
; MIPS64EL-NEXT: daddu $2, $3, $2
----------------
How did just a single add become a sub?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120216/new/
https://reviews.llvm.org/D120216
More information about the llvm-commits
mailing list