]> granicus.if.org Git - llvm/commit
[APInt] Remove references to integerPartWidth outside of APFloat implentation.
authorCraig Topper <craig.topper@gmail.com>
Thu, 30 Mar 2017 05:49:03 +0000 (05:49 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 30 Mar 2017 05:49:03 +0000 (05:49 +0000)
commit8dac88a6524ec083efb76ffa8c8a825a13184265
tree5500d5c44df02eb01b6e002141268768dc03069c
parent5b2ce7b2d4dba2a2b20c4f328af4ce2d8082ac62
[APInt] Remove references to integerPartWidth outside of APFloat implentation.

Turns out integerPartWidth only explicitly defines the width of the tc functions in the APInt class. Functions that aren't used by APInt implementation itself. Many places in the code base already assume APInt is made up of 64-bit pieces. Explicitly assuming 64-bit here doesn't make that situation much worse. A full audit would need to be done if it ever changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299059 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp