[PATCH] Make InstCombine aware of TargetTransformInfo when optimize extension
xweng at google.com
Thu Jun 25 15:10:22 PDT 2015
Hi dberlin, chandlerc,
In NVPTX64, 64-bit register is simulated by two 32-bit register which
makes it more expensive on 64-bit operations.
In this patch we compute the extra cost of extending the expression
tree for zext and sext by exploiting TargetTransformInfo and make sure
the transform will not bring more costs.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20142 bytes
Desc: not available
More information about the llvm-commits