Commit 9c375a45 authored by Noah Goldstein's avatar Noah Goldstein
Browse files

[InstCombine] Transform `(add (shl (neg X), Cnt))` -> `(sub (shl X, Cnt))`

Just a simple instruction save.

Proof: https://alive2.llvm.org/ce/z/Vb484j

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D154807
parent a6c02281
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment