[PATCH] Added instcombine for 'ABS(ABS(X)) -> ABS(X)'
dinesh.d at samsung.com
Wed May 7 12:53:37 PDT 2014
Hi nadav, chandlerc, rafael,
Tried implementing SPF_ABS and instcombine for ABS(ABS(X))
I left ABS(-X) -> ABS(X) from TODO comment because it was not
reducing instructions count. For calculating ABS(X), it generate
instruction to negate X for select instruction.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4120 bytes
Desc: not available
More information about the llvm-commits