[PATCH] D66805: [MIPS] For vectors, select `add %x, -1` as `sub %x, 1`
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 10:11:15 PDT 2019
lebedev.ri added a comment.
Forgot to mention, this `sub %X, C` -> `add %X, -C` transform is already always being performed
by InstCombine in middle-end, so such undo transform is needed regardless of what DAGCombine does.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66805/new/
https://reviews.llvm.org/D66805
More information about the llvm-commits
mailing list