[all-commits] [llvm/llvm-project] ff17da: [InstCombine] Push negation through multiply (PR44...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jan 31 11:59:06 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ff17da3f75b4825f71e81e1caa2e5084d500a1a1
https://github.com/llvm/llvm-project/commit/ff17da3f75b4825f71e81e1caa2e5084d500a1a1
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-01-31 (Fri, 31 Jan 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/mul.ll
M llvm/test/Transforms/InstCombine/sub.ll
Log Message:
-----------
[InstCombine] Push negation through multiply (PR44234)
Fixes https://bugs.llvm.org/show_bug.cgi?id=44234 by adding
multiply support to freelyNegateValue(). Only one of the operands
needs to be negatible, so this still fits within the framework.
Differential Revision: https://reviews.llvm.org/D73410
More information about the All-commits
mailing list