| commit | 543900539f7c166d453e5bd5175f9461dbbd4319 | [log] [tgz] |
|---|---|---|
| author | Chad Rosier <mcrosier@codeaurora.org> | Mon Feb 23 19:15:16 2015 +0000 |
| committer | Chad Rosier <mcrosier@codeaurora.org> | Mon Feb 23 19:15:16 2015 +0000 |
| tree | 0d91a2a4c54e868976bd98691c8d95b4b05e201e | |
| parent | 7c3310694cfdbf2d7350abfeac17733ac9000a9e [diff] |
Prevent hoisting fmul from THEN/ELSE to IF if there is fmsub/fmadd opportunity. This patch adds the isProfitableToHoist API. For AArch64, we want to prevent a fmul from being hoisted in cases where it is more profitable to form a fmsub/fmadd. Phabricator Review: http://reviews.llvm.org/D7299 Patch by Lawrence Hu <lawrence@codeaurora.org> llvm-svn: 230241