commit | a4fe29414d883239042d49813e28f0db7fd92391 | [log] [tgz] |
---|---|---|
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | Wed Aug 19 11:17:59 2015 +0000 |
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | Wed Aug 19 11:17:59 2015 +0000 |
tree | f08bce68357412dfab147e42f596c83f2a9c5677 | |
parent | d1c298190edd2cce626fc08fb05b1ef8752b9150 [diff] |
[TLI] Refactor "is integer division cheap" queries. This removes the isPow2SDivCheap() query, as it is not currently used in any meaningful way. isIntDivCheap() no longer relies on a state variable (as all in-tree target set it to false), but the interface allows querying based on the type optimization level. NFC. Differential Revision: http://reviews.llvm.org/D12082 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245430 91177308-0d34-0410-b5e6-96231b3b80d8