Skip to content
Commit a7161735 authored by Dinesh Dwivedi's avatar Dinesh Dwivedi
Browse files

Added instruction combine to transform few more negative values addition to subtraction (Part 2)

This patch enables transforms for

(x + (~(y | c) + 1)   -->   x - (y | c) if c is even

Differential Revision: http://reviews.llvm.org/D4209

llvm-svn: 211765
parent 7e0daca1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment