[PATCH] D22076: GVN: If X > Y is true, then replace X == Y with false and X != Y with true

Carlos Liam via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 17:24:09 PDT 2016


aarzee created this revision.
aarzee added a reviewer: dberlin.
aarzee added a subscriber: llvm-commits.

Currently integer comparisons only.

Correctly optimizes this example file: https://ghostbin.com/paste/g382s

http://reviews.llvm.org/D22076

Files:
  lib/Transforms/Scalar/GVN.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22076.63001.patch
Type: text/x-patch
Size: 5109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160707/098972f2/attachment.bin>


More information about the llvm-commits mailing list