[PATCH] Added instcombine for 'ABS(ABS(X)) -> ABS(X)'

Dinesh Dwivedi dinesh.d at samsung.com
Thu May 15 23:51:01 PDT 2014


corrected one typo in comments.
I have written 
  (x > 1)? -x : x
whereas I meant
  (x < 1)? -x : x

http://reviews.llvm.org/D3658

Files:
  lib/Transforms/InstCombine/InstCombine.h
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  test/Transforms/InstCombine/select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3658.9461.patch
Type: text/x-patch
Size: 7085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140516/d2b3f627/attachment.bin>


More information about the llvm-commits mailing list