]> granicus.if.org Git - llvm/commit
[IR] Remove validAlignment and validPointer methods DataLayout as they aren't used.
authorCraig Topper <craig.topper@gmail.com>
Tue, 21 Mar 2017 23:04:23 +0000 (23:04 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 21 Mar 2017 23:04:23 +0000 (23:04 +0000)
commita28580d8efd06b685819325528525af36ee73dbf
treead399a5da182a0fbf3da1be105d9948da8e4ccda
parent956477d1ca6aa9fd27be91635bcfc5fb634dd274
[IR] Remove validAlignment and validPointer methods DataLayout as they aren't used.

I don't think validAlignment has been used since r34358 in 2007. I think validPointer was copied from validAlignment some time later, but it definitely wasn't used in the first commit that contained it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298458 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DataLayout.h
lib/IR/DataLayout.cpp