[PATCH] D56679: [InstCombine] Don't undo 0 - (X * Y) canonicalization when combining subs.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 12:25:33 PST 2019
fhahn marked an inline comment as done.
fhahn added inline comments.
================
Comment at: test/Transforms/InstCombine/mul.ll:448
; CHECK-LABEL: @test_mul_canonicalize_op0(
-; CHECK-NEXT: [[MUL:%.*]] = mul i32 [[X:%.*]], [[Y:%.*]]
-; CHECK-NEXT: [[NEG:%.*]] = sub i32 0, [[MUL]]
----------------
I re-run update_test_checks.py and it changed those lines. Let me know if I should undo the unrelated changes.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56679/new/
https://reviews.llvm.org/D56679
More information about the llvm-commits
mailing list