]> granicus.if.org Git - llvm/commit
[DAGCombine] LoadedSlice - keep getOffsetFromBase() uint64_t offset. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 9 Jul 2019 15:28:57 +0000 (15:28 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 9 Jul 2019 15:28:57 +0000 (15:28 +0000)
commit8d9c5e8ad87c3274c6546008c1bca9c05fade0d8
treeb042f5597e57c93ac2bd9b5f7ef9b96d94019dca
parentfcfe185dad03f6f8ff20dd5317d7cab56ac335d0
[DAGCombine] LoadedSlice - keep getOffsetFromBase() uint64_t offset. NFCI.

Keep the uint64_t type from getOffsetFromBase() to stop truncation/extension overflow warnings in MSVC in alignment math.

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